Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    2
    ReputationRep:
    There is a school with 1,000 students and 1,000 lockers. On the first day of term the headteacher asks the first student to go along and open every single locker, he asks the second to go to every second locker and close it, the third to go to every third locker and close it if it is open or open it if it is closed, the fourth to go to the fourth locker and so on. The process is completed with the thousandth student. How many lockers are open at the end?
    Offline

    11
    ReputationRep:
    (Original post by elena2003)
    There is a school with 1,000 students and 1,000 lockers. On the first day of term the headteacher asks the first student to go along and open every single locker, he asks the second to go to every second locker and close it, the third to go to every third locker and close it if it is open or open it if it is closed, the fourth to go to the fourth locker and so on. The process is completed with the thousandth student. How many lockers are open at the end?
    Nice question. What have you done so far?

    I have no idea what the answer is, but it looks like the answer will be closely related to the factorisation of each number on the locker e.g. locker 5 is prime, so will only be "flipped" once, when the 5th pupil goes through the lockers, but locker 10 = 5x2 will be "flipped" by the 2nd pupil and the 5th pupil, and locker 12 will be "flipped" by the 2nd, 3rd, 4th, and 6th pupils.
    • Thread Starter
    Offline

    2
    ReputationRep:
    (Original post by atsruser)
    Nice question. What have you done so far?

    I have no idea what the answer is, but it looks like the answer will be closely related to the factorisation of each number on the locker e.g. locker 5 is prime, so will only be "flipped" once, when the 5th pupil goes through the lockers, but locker 10 = 5x2 will be "flipped" by the 2nd pupil and the 5th pupil, and locker 12 will be "flipped" by the 2nd, 3rd, 4th, and 6th pupils.



    i have got the soloution
    • Thread Starter
    Offline

    2
    ReputationRep:
    remaining are all the square numbers beecause these are the only numbers divisible by an odd number
    Offline

    22
    ReputationRep:
    (Original post by elena2003)
    remaining are all the square numbers beecause these are the only numbers divisible by an odd number
    What? 3 | 27 - 3 is odd and 27 is not a square number.
    • Thread Starter
    Offline

    2
    ReputationRep:
    (Original post by Zacken)
    What? 3 | 27 - 3 is odd and 27 is not a square number.
    look on there i cant be bothered to type
    http://indy100.independent.co.uk/image/19289-zdov5y.JPG
    Offline

    22
    ReputationRep:
    (Original post by elena2003)
    look on there i cant be bothered to type
    http://indy100.independent.co.uk/image/19289-zdov5y.JPG
    (Original post by elena2003)
    remaining are all the square numbers beecause these are the only numbers divisible by an odd number
    Yeah, I can see that you're not bothered to type.

    For anybody else, the solution is the numbers which have an odd number of divisors - which are the square numbers.
    • Thread Starter
    Offline

    2
    ReputationRep:
    Spoiler:
    Show
    yeah that
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Brexit voters: Do you stand by your vote?
    Useful resources

    Make your revision easier

    Maths

    Maths Forum posting guidelines

    Not sure where to post? Read the updated guidelines here

    Equations

    How to use LaTex

    Writing equations the easy way

    Student revising

    Study habits of A* students

    Top tips from students who have already aced their exams

    Study Planner

    Create your own Study Planner

    Never miss a deadline again

    Polling station sign

    Thinking about a maths degree?

    Chat with other maths applicants

    Can you help? Study help unanswered threads

    Groups associated with this forum:

    View associated groups
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Write a reply...
    Reply
    Hide
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.