Cannonball problem (source code)

= Cannonball problem
{wiki=Cannonball_problem}

The Cannonball Problem is a mathematical question that involves finding the number of ways to arrange a certain number of cannonballs in a triangular formation. More specifically, it often refers to the problem of determining how many layers of cannonballs can be formed such that each layer consists of a triangular number of balls.