Answer:
1, 4, 9, 16, 25, 36, 49, 64, 81, and 100
Step-by-step explanation:
Let's pretend that the locker number is represented as a Binary (meaning it's either open or closed).
Looking at this, we can see that each locker is only acted upon if the student number is a factor of it. This is why the 3rd person changes the state of every 3 lockers, the 4th student changes the state of every 4 lockers, etc.
The factors of a number are the numbers that the original number is evenly divisible by. When we divide these, we also receive a factor. With this information, we can conclude that unless one of the factors is the square root of the number, then the "second divided by" factor is itself. For every other number, there will be a "second divided by" factor, so an even number of them. Because an even number + 1 = odd number, then only perfect squares will have an odd number of factors.
Hope this helped!