In this example you have 16 balls in the bottom layer, 9 balls in the next layer, then 4 and, finally, one at the top giving a total of 16+9+4+1 = 30 balls.
This describes a four-sided pyramid.
It is n*(n + 1)*(2*n + 1)/6
20 dimes
This describes a four-sided pyramid.
You have 22 dimes and 11 pennies.
This describes a four-sided pyramid.
there are 4 cannonballs
It is n*(n + 1)*(2*n + 1)/6
number Specifies the number of stacks (0 or 8 to 64) that are to be set aside for hardware interrupts.
20 dimes
CannonBalls R us
Cannonballs did not exist in medieval times. They belong to a later era.
This describes a four-sided pyramid.
Cannonballs
Some are
That depends on how many is in a stack
yes