The total number of cans =
5525
The top layer = 1 can
the
second layer = 2^2 = 5
the third layer = 3^2 =
9
.....
then nth layer =
n^2
==: 1^2 + 2^2 + 3^2 + ....+n^2 =
5525
==: 1 + 4 + 9 + 16 + ...+ n^2 =
5525
The sum of the aeries
is:
S = n(n+1)(2n+1)/6 =
5525
Multiply by 6:
==>
n(n+1)(2n+1) = 33,150
==> 2n^3 + 3n^2 + n=
33,150
==> 2n^3 + 3n^2 + n - 33,150 =
0
==> (n-25)(2n^2 + 53n + 1326) =
0
==> n=
25
Then there are 25 layers of cans
No comments:
Post a Comment