Lets say billiard balls are arranged in rows to form an equilateral triangle, then the first row consists of 1 ball, second row consists of 2 balls, and third row consists of 3 balls, and so on. So there must be [tex]n[/tex] balls in the [tex]n^{th}[/tex] row.
So, the total number of balls that forms the equilateral triangle with [tex]n[/tex] rows is:
[tex]1+2+3+4+5+....+n=\frac{n(n+1)}{2}[/tex]
Let [tex]x_1[/tex] and [tex]x_2[/tex] be the total number of balls in the first and second arrangements respectively.
Then,
[tex]x_1=\frac{n(n+1)}{2} +5[/tex]
It has been said that there were 11 lesser balls in the second arrangement:
[tex]x_2=\frac{1+(n+1)}{2} \times (n+1)-11=(n+1) \times \frac{(n+2)}{2} -11[/tex]
Since, [tex]x_1=x_2[/tex]
[tex]\frac{(n+1)}{2} \times n+5=\frac{(n+2)}{2} \times(n+1)-11[/tex]
multiplying both the sides by 2
[tex](n+1)\times n+10=(n+2)(n+1)-22[/tex]
[tex]n+n^2=n^2+n+2n+2-22-10[/tex]
[tex]2n=22+10-2[/tex]
[tex]2n=30[/tex]
[tex]n=15[/tex]
Therefore,
[tex]x_1=\frac{(n+1)}{2}\times n+5=\frac{15+1}{2} \times 15+5=125[/tex]
So, there were 125 balls at the set.