Floyd's triangle is the arrangement of array of any natural numbers in a right angled triangle starting from left to right.
How Floyd's Traingle is Calculated?
To generate first five rows, write down the given values form 1 to ..n depend on row count.
1 | ||||
2 | 3 | |||
4 | 5 | 6 | ||
7 | 8 | 9 | 10 | |
11 | 12 | 13 | 14 | 15 |
Substitute the values in given Formula Sum Row(n)=n(n2+1)/2
Substitute the first value 1 in the formula Sum Row(1)=1(12+1)/2 Sum Row(1)=1
Substitute the Second value 2 in the formula Sum Row(2)=2(22+1)/2 Sum Row(2)=10 / 2 Sum Row(2)=5
Substitute the values in the formula upto n th Row...