A teacher on attempting to arrange the students for mass drill in the form of 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.
A teacher on attempting to arrange the students for mass drill in the form of 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.

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:
\begin{array}{l} (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 \end{array}

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