100 hotel rooms and 100 guests?

  • Thread starter Thread starter mimibajiduh
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves 100 hotel rooms and 100 guests, where each guest changes the status of certain rooms from open to closed or vice versa. The objective is to determine which rooms remain closed after all guests have changed the statuses.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the pattern of room status changes based on the number of guests visiting each room and the concept of factors. Some explore the relationship between the number of factors a room number has and its final status.

Discussion Status

Several participants have provided insights into the nature of factors and how they relate to the problem. There is an ongoing exploration of the implications of square numbers and their unique factor properties. Some participants express agreement on the interpretations presented, while others seek clarification on initial conditions and assumptions.

Contextual Notes

There is a lack of explicit information regarding the initial status of the rooms and whether guests need to change the status of their own room upon exiting. These assumptions are being questioned and discussed among participants.

mimibajiduh
Messages
15
Reaction score
0
there are 100 hotel rooms and 100 guests.
change the status means open goes to closed and closed goes to open.

guest 1: goes to every room and changes its status
guest 2: goes to every 2 rooms(2, 4,6,8,...,100) and changes its status
guest 3: goes to every 3 rooms and changes its status
guest 4: goes to every 4 rooms and changes its status
this goes on all the way to guest 100
guest 100: goes to 100 and changes its status

which rooms are closed? i know that room 1 is closed.
 
Physics news on Phys.org
hi mimibajiduh! :smile:

take rooms 10 20 30 and 60 as examples …

how many guests visit each of those rooms? :wink:
 
I remember this question from my gr.7 class and I remember writing like huge essay to explain it. Let's see if i can do it in few lines. So, you have 100 rooms. or essentially 100 numbers. Then think about factors of each number. So let's say 8 for example factors are: 1, 2, 4, 8.
Now think about pairs: 1 x 8 = 8 and 2 x 4 = 8.
basically all of the numbers are pairs. Except 10 of them; namely squares: 1,4,9,16,25,36,49,64,81,100... By that i mean consider factors for 36 =>
1 x 36 = 36
2 x 18 = 36
3 x 12 = 36
4 x 9 = 36
BUT:
6 x 6 = 36

Hopefully you get the idea.
 
utkarsh1 said:
I remember this question from my gr.7 class and I remember writing like huge essay to explain it. Let's see if i can do it in few lines. So, you have 100 rooms. or essentially 100 numbers. Then think about factors of each number. So let's say 8 for example factors are: 1, 2, 4, 8.
Now think about pairs: 1 x 8 = 8 and 2 x 4 = 8.
basically all of the numbers are pairs. Except 10 of them; namely squares: 1,4,9,16,25,36,49,64,81,100... By that i mean consider factors for 36 =>
1 x 36 = 36
2 x 18 = 36
3 x 12 = 36
4 x 9 = 36
BUT:
6 x 6 = 36

Hopefully you get the idea.

hey utkarsh 1 , i am utkarsh009, what a coincidence!
first tell me what was the original status of all the rooms and also whether the guests have to change the status of their room for coming out?
now, let me just explain what you said in my words. just see if i am correct or not.
the the numbers which have even number of factors have the same status and the ones with odd number of factors have same status.
if the original status was that all the rooms were opened then the square numbers (which have odd number of factors) will be closed.
just check whether i am right or not?
 
utkarsh009 said:
hey utkarsh 1 , i am utkarsh009, what a coincidence!
now, let me just explain what you said in my words. just see if i am correct or not.

Yes its correct! Probably better explained since its more concise
 
utkarsh1 said:
Yes its correct! Probably better explained since its more concise

thank you very much !
 

Similar threads

  • · Replies 69 ·
3
Replies
69
Views
7K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 73 ·
3
Replies
73
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 131 ·
5
Replies
131
Views
10K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K