318,617 views
25 votes
25 votes
How to solve Pascal triangle and execute its algorithm​

User SemanticZen
by
3.2k points

1 Answer

8 votes
8 votes

Answer:

Each cell of the pascal triangle can be calculated using the combinations formula:


{n \choose k} = (n!)/(k!(n-k)!)

See picture to see the values of n and k.

How to solve Pascal triangle and execute its algorithm​-example-1
User Leiyonglin
by
2.5k points