Unconfigured Ad Widget

Collapse

Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Another Math Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by T. R. Oglodyte
    OK - here's a harder one.

    At Lincoln High School there are 100 lockers in the hallway in the Social Studies wing. At the end of the school year, the lockers are all unlocked, the students having cleaned them out. The next day starts summer vacation, which lasts for 100 days.

    On the first day of school vacation, a janitor locks every locker.

    On the second day of school vacation, the janitor unlocks every second locker, starting with locker #2.

    On the third day of school vacation, the janitor checks every third locker, starting with locker #3. If the locker is locked, he unlocks it. If it is unlocked, he locks it.

    On the fourth day of school vacation, the janitor checks every fourth locker, starting with locker #4, locking it if unlocked, unlocking it if locked.

    Throughout the remainder of the school vacation he continues this process - on day n he checks every nth locker, starting with locker #n - locking if unlocked and locking if unlocked.

    At the end of the last day of vacation (i.e., at the end of day 100, after the janitor has completed his 100th time of checking lockers), how many lockers are locked and how many are unlocked.

    Figure out the answer deductively - not by working it out on paper.
    Wouldn't all of the lockers be unlocked after vacation so that the kids could put their stuff in the lockers?
    Mike H
    Wyndham Fairshare Plus Owners, Be cool and join the Wyndham/FairfieldHOA forum!

    Comment

    Working...
    X