Consider an incomplete pyramid of balls on a square base having 18 layers; and having 13 balls on each side of the top layer. Then the total number N of balls in that pyramid satisfies
The top layer has (13×13) balls the layer below it will have (14×14) balls
We have 18 layers
So the total number of balls
N=(13×13)+(14×14)+.......(30×30)N=132+142+.....302
Sum of squares of first n natural numbers is n(n+1)(2n+1)6
∴N= sum of first 30 − sum of first 12
N=30×31×616−12×13×256N=8805
⇒8000<N<9000
Hence, option B is correct.