Some identical balls are arranged in rows to form an equilateral triangle. The first row consists of one ball, the second row consists of two balls and so on. If 99 more identical balls are added to the total number of balls used in forming the equilateral triangle, then all these balls can be arranged in a square, whose each side contains exactly 2 balls less than the number of balls each side of the triangle contains. Then the number of balls used to form the equilateral triangle is:
We have balls first arranged in the shape of an equilateral triangle whose side has balls. In such an arrangement the rows contain balls respectively. The total number of balls in an equilateral triangular arrangement of side is known to be the triangular number. The formula for the sum of the first natural numbers is
So, the number of balls actually used in making the triangle is
According to the problem, if we now add exactly more identical balls to this collection, the enlarged collection can be perfectly rearranged into a square. Further, each side of this square has exactly balls fewer than each side of the original triangle. Since each side of the triangle already contains balls, each side of the square must therefore contain balls.
The number of balls needed to build such a square is the square of the number of balls along one side. Hence
The balls in the square come from all the balls of the triangle plus the additional balls. Therefore we can write the equality
Now we solve this equation step by step. First multiply every term by to clear the denominator:
Expand both sides. On the left:
so the left-hand side becomes On the right, start with the binomial square:
then double it:
Hence the equality is now
Bring every term to one side to obtain zero on the other side. Subtract the entire left-hand side from both sides:
Carry out the subtractions term by term:
which simplifies to
So we must solve the quadratic equation
The quadratic formula for is Here . First compute the discriminant:
Since we now have
This gives two possible values:
Because counts balls along a side, it must be positive, so we discard and keep
Now substitute back to find the actual number of balls in the original triangular arrangement:
So, the triangle was made of balls.
Hence, the correct answer is Option B.
Tagged Sums of natural numbers, squares and cubes. Machine-assigned, so read it as a strong shortlist rather than a verdict.