Can someone help me write a formula? The question is, "Imagine a pyramid of tennis balls piled so that each layer is a square, beginning with one ball at the top and four at the next layer, nine, etc. The numbers that result when you add the number of successive layers are pyramidal numbers. The first is 1. Next layer is 4 (plus the one) =5 for the next layer, etc. How can I write a formula to find the various level numbers. (e.g) 40th layer?
Thanks in advance for your help!!
Thanks in advance for your help!!