# A teacher on attempting to arrange the students for mass drill in the form of a solid square found that 24 students were left.

Question:

A teacher on attempting to arrange the students for mass drill in the form of a solid square found that 24 students were left. When he increased the size of the square by one student, he found that he was short of 25 students. Find the number of students.

Solution:

Let there be $x$ rows.

Then, the number of students in each row will also be $x$.

$\therefore$ Total number of students $=\left(x^{2}+24\right)$

According to the question:

$(x+1)^{2}-25=x^{2}+24$

$\Rightarrow x^{2}+2 x+1-25-x^{2}-24=0$

$\Rightarrow 2 x-48=0$

$\Rightarrow 2 x=48$

$\Rightarrow x=24$

$\therefore$ Total number of students $=24^{2}+24=576+24=600$