I want to make a program for pascal's triangle,I was reading through the details and found something like this:
0: 1
1: 1 1
2: 1 2 1
3: 1 3 3 1
4: 1 4 6 4 1
5: 1 5 10 10 5 1
by looking at row number 5 of the triangle, one can quickly read off that:
$$(x + y)^5 = 1\cdot x^5 + 5\cdot x^4y + 10\cdot x^3y^2 + 10\cdot x^2y^3 + 5\cdot x y^4 + 1\cdot y^5$$
but I haven't been able to understand what are these x and y and what shall be their values.and also how shall I proceed for further rows.
I shall be really thatnkful if someone explained this to me.