1 1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
...
Simply write the triangle below:
1
1 1
Then write 1 on the ends and add the two values above the position you're in to get the next triangle.
Pascal's triangle
pascal
The Sierpinski Triangle
pascals triangle is used to solve math problems that have chance of 2 different outcomes, such as flipping a coin
in the 11th century...
(a+b)7
35
1,4,6,4,1
Blaise Pascal.
Pascal didn't invent pascals triangle, he just made It popular. A Chinese mathematician invented it in about 1015.
The expanded binomial is another name for Pascal's triangle.
No, use java.