Jump To Content

LearnHub



1000 Lockers (Discussion)

ankita saidWed, 20 Aug 2008 10:56:54 -0000 ( Link )

There are 1000 closed lockers. There are 1000 students.

The first student comes in and opens every locker.

The second student REVERSES every second locker, i.e. closes lockers that are open and opens lockers that are closed.

The third student REVERSES every third locker, and so on.

The pattern continues until all 1000 students have done what they're supposed to do.

At the end, how many lockers are still open?

Actions
Vote
Current Rating
0
Rate Up
Rate Down
No Votes
  1. sgs saidSat, 22 Nov 2008 06:56:59 -0000 ( Link )

    all lockers will be closed.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  2. ujju saidMon, 19 Jan 2009 06:57:41 -0000 ( Link )

    A good one. 31 lockers will be open. All the perfect square no door will be open. so 312=961 322=1024. so only 31 lockers will be open at the end.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

Your Response
Textile is Enabled (View Reference)