document.write( "Question 182270: At hicksville high school, the students celebrate a very unusual tradition. You see there are exactly 100 students at HHS and exactly 100 lockers. Every november 23, the students celebrate what has come to be known as \"Locker Day\". Each of the 100 students line up and number off from 1 to 100. Student number 1 goes through the hallways and opens each of the 100 lockers. student number 2 then goes through and closes every other locker. Student number 3 follows and \"reverses\" every third locker. The fourth then goes through and \"reverses\" every fourth locker. This continues untill each of the 100 students has passed through the hallways of HHS, ending with the 100th student reversing the 100th locker. My question for you: After this is done, which of the lockers will remain open?
\n" );
document.write( "I need an equation and the answer to the question above.
\n" );
document.write( "so far i have
\n" );
document.write( "1---4---9---16---25---36---49---64---81---100
\n" );
document.write( "-+3--+5--+7---+9---+11--+13--+15--+17---+19\r
\n" );
document.write( "\n" );
document.write( "thanks for taking the time for reading this question and maybe even helping me answer it
\n" );
document.write( "P.S. this is only a math problem not a real life situation at my school
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #136813 by solver91311(24713)![]() ![]() You can put this solution on YOUR website! \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "All integers except for perfect squares have an even number of even divisors, including 1 and the integer itself. Perfect squares have an odd number of divisors because the integer square root is a divisor.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Examples:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "6 has 4 factors: 1, 2, 3, and 6. Not a perfect square, even number of factors.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "16 has 5 factors: 1, 2, 4, 8, 16. Perfect square, odd number of factors.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "You could get all fancy and prove this fact by saying something along the lines of: If p is an even divisor of integer n, then there is an integer quotient q that is also a divisor, hence divisors come in pairs. Except for the case of a perfect square where p is the square root of n in which case the quotient is also p, making the exception to the 'divisors in pairs' rule. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If Student number s touches locker n, then s must be an even divisor of n, according to the rules of the game.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Therefore, non-perfect square number lockers are touched an even number of times. That is, if they started out closed, they end up closed. Perfect square number lockers are touched an odd number of times -- if they started closed, they end up open.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "John \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " |