[challenge] pascal triangle for powers of 11 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

[challenge] pascal triangle for powers of 11

https://www.sololearn.com/discuss/746654/?ref=app the powers of 11 can be derived from the Pascal Triangle 11**0 = 1 = first row 11**1 = 11 = second row 11**2 = 121 = third row ... 1331 14641 ... 1 5 10 10 5 1... works too but with transfer 1 5 (10 + 1) 0 5 1 1 (5+1) 1 0 5 1 161051 = 11**5 .... write a program, that gets a number and returns 11**(number) . The result should be calculated with jelp of pascal triangle

13th Oct 2017, 12:12 PM
Oma Falk
Oma Falk - avatar
2 Answers
14th Oct 2017, 4:01 AM
Gunadnya Raut
Gunadnya Raut - avatar
14th Oct 2017, 12:36 PM
Oma Falk
Oma Falk - avatar