Solution -: Let the number of row be x ,
since the number of column is same as row there for column will be x as well
Number of students = 500
we know that 23 ^2 = 23*23 =529
and 22^2 = 22*22 = 484 since student must be 500 or less than 500 so we will take perfect square 22^2 = 484
Number of student will be left = 500-484=16
So, the number of students in this arrangment = 16 answer