Cominatorics

There are 1000 rooms in a row along a long corridor. Initially the first room contains 1000 people and the remaining rooms are empty. Each minute, the following happens: for each room containing more than one person, someone in that room decides it is too crowded and moves to the next room. All these movements are simultaneous (so nobody moves more than once within a minute). After one hour, how many different rooms will have people in them?

29 31 30 32

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Ankit Vijay
Sep 2, 2014

Draw out the pattern and the problem will become obvious. After 60 60 minutes, the first room will have 940 940 people and there will be 30 30 other rooms with 2 2 people in them. Therefore, there will be 31 31 rooms.

Nice logic. Thanks and congratulations.

Niranjan Khanderia - 6 years, 9 months ago

Log in to reply

Thank you..but why congratulations ?

Ankit Vijay - 6 years, 9 months ago

Log in to reply

Because you did a problem in a way that I feel you deserve congratulation. I felt very happy with your solution.

Niranjan Khanderia - 6 years, 9 months ago

Log in to reply

@Niranjan Khanderia Thank you sir :)

Ankit Vijay - 6 years, 9 months ago
Nakibur Rahman
Apr 15, 2015

In every odd minute,room with people will increase,and in every even minute nothing will happen.So,from 1 to 60 there are 30 odd number,so now 30 new room will have people in it,adding the first one we have 31 rooms with people in it

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...