document.write( "Question 369226: A new high school has just been opened, with an enrollment
\n" );
document.write( "of 1000 students. The school has 1000 lockers, numbered 1 to
\n" );
document.write( "1000, to accommodate them. On the first day of school, all
\n" );
document.write( "1000 lockers are closed and all 1000 students are outside
\n" );
document.write( "waiting to be let into the building. The first student enters and
\n" );
document.write( "opens all of the lockers. The second student follows and
\n" );
document.write( "closes every second locker, beginning with the second locker.
\n" );
document.write( "The third student enters the school and reverses every third
\n" );
document.write( "locker beginning with locker 3 (e.g., if the locker is closed it is
\n" );
document.write( "opened and vice versa). This procedure is continued until all
\n" );
document.write( "1000 students have passed by all the lockers. When they
\n" );
document.write( "finish, which lockers will be open? \n" );
document.write( "
Algebra.Com's Answer #263087 by acalgebra(30)![]() ![]() You can put this solution on YOUR website! The square numbered lockers (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, and 961). \n" ); document.write( " |