
Gregg O. answered 05/04/16
Tutor
5.0
(366)
Engineering Valedictorian Available for Math Tutoring
the top layer is 1 block (1x1).
The second layer is 2x2 = 4 blocks.
The third layer is 3x3 = 9 blocks.
Add them together, and you have 14 blocks.
The formula for n layers is:
n
∑ i2, which comes out to n(n+1)(2n+1)/6.
i=1
For a 6-layer period, plug 6 in place of n in the above formula.
The nth layer has n2 blocks. For the second question, plug 9 in place of n.