MHB 1000 Students - Odd Lockers Open

  • Thread starter Thread starter vivalajuicy
  • Start date Start date
  • Tags Tags
    students
AI Thread Summary
After all 1000 students have entered the school, the lockers that remain open are those numbered with perfect squares between 1 and 1000. This occurs because each locker is toggled (opened or closed) based on the number of its divisors, which is odd only for perfect squares. The first student opens all lockers, while subsequent students toggle lockers based on their number's divisibility. Ultimately, only lockers numbered 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 576, 625, 676, 729, 784, 841, 900, 961 remain open. The final answer confirms that only the square numbers are left open.
vivalajuicy
Messages
5
Reaction score
0
Following recess, the 1000 students of a school lined up and entered the school as follows: The first student opened all of the 1000 lockers in the school. The second student closed all lockers with even numbers. The third student “changed” all lockers that were numbered with multiples of 3 by closing those that were open and opening those that were closed. The fourth student changed each locker whose number was a multiple of 4 and so on. After all 100 students had entered the building in this fashion, which lockers were left open?
 
Mathematics news on Phys.org
Re: word problem for my math assignment

I think you mean after 1000 students. If so, the answer is all the square numbers between 1 & 1000.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.

Similar threads

Replies
3
Views
2K
Replies
16
Views
13K
Replies
10
Views
5K
Replies
3
Views
2K
Replies
134
Views
6K
Replies
1
Views
2K
Back
Top