Pascal's triangle

Pascal's triangle project
image
wikipedia link

How it work:
PascalTriangleAnimated2

Interesting facts:

Diagonals:
image

Squares: For the second diagonal, the square of a number is equal to the sum of the numbers next to it and below both of those.
image

Horizontal sums: : They double each time (powers of 2).
image

Exponents of 11: Each line is also the powers (exponents) of 11
image

more facts

Impressive. Now try to allow users to set how many rows a triangle could have.

done !

More fun facts:

  • Each row of the pascal triangle represents the expansion of 0-Y(1,n).
  • For each new row, the row behind it represents the difference of numbers from the new row. For example, the differences of (1,4,10,20,35,...) is (1,3,6,10,15,...)