"Second example" is not correct???
Hi,
"Second example" is:
(1,),
(2, 1),
(1, 2, 1),
(1, 2, 1, 1),
(1, 2, 1, 1, 1),
(1, 2, 1, 1, 1, 1),
(1, 2, 1, 1, 1, 1, 9)
)))# == 15, "Second example"
But if you'll count the piramyd, the answer will be: 13.
1+2+2+2+2+2+2 = 13 - but not 15???
How it could be???