compute the height of the pyramid
Source: Netherlands 1995
June 28, 2009
geometry3D geometrypyramidsphere
Problem Statement
A number of spheres with radius are being placed in the form of a square pyramid. First, there is a layer in the form of a square with spheres. On top of that layer comes the next layer with (n\minus{}1)^2 spheres, and so on. The top layer consists of only one sphere. Compute the height of the pyramid.