Ask your own question, for FREE!
Mathematics 11 Online
OpenStudy (shubhamsrg):

In a jail with 100 rooms, all locked initially, 100 rioters break in and disturb the rooms in the following way. First one stops at all rooms and opens them all. Second rioters stops at rooms numbered 2, 4, 6, . . . and locks open rooms, and leaving the other rooms as they were. The third rioter stops at rooms numbered 3, 6, 9, . . . and again opens a locked room and locks an open room, leaving others undisturbed. And this process continues. After all the 100 rioters have left which rooms would be open?

OpenStudy (shubhamsrg):

i dont know! :P any good reasons ?

OpenStudy (lgbasallote):

the ones that will be open are the squares (i.e. 4, 9, 16, 25, etc)

OpenStudy (lgbasallote):

the ones that will be closed are the not squares

OpenStudy (anonymous):

@lgbasallote I think room 1 will be surely opened..

OpenStudy (lgbasallote):

yes it will

OpenStudy (lgbasallote):

1 is a perfect square isnt it

OpenStudy (lgbasallote):

1 opens 4 2 closes 4 4 opens 4

OpenStudy (anonymous):

100 th room

OpenStudy (lgbasallote):

for 9 1 opens 9 3 closes 9 9 opens 9

OpenStudy (lgbasallote):

for 16 1 opens 16 2 closes 16 4 opens 16 8 closes 16 16 opens 16

OpenStudy (lgbasallote):

for 25 1 opens 25 5 closes 25 25 opens 25

OpenStudy (lgbasallote):

for 36 1 opens 36 3 closes 36 6 opens 36 12 closes 36 36 opens 36

OpenStudy (lgbasallote):

for 49 1 opens 49 7 closes 49 49 opens 49

OpenStudy (anonymous):

I guess the number which has odd number of factors will be open

OpenStudy (shubhamsrg):

in 36 you missed some in between but result remains open,,hmm i see maybe you're correct..

OpenStudy (anonymous):

And the room number which has even number of factors will be closed

OpenStudy (lgbasallote):

for 64 1 opens 64 2 closes 64 4 opens 64 8 closes 64 16 opens 64 32 closes 64 64 opens 64

OpenStudy (lgbasallote):

what comesafter 64 again?

OpenStudy (shubhamsrg):

81 1o 3c 9o 27c 81o

OpenStudy (lgbasallote):

yes that

OpenStudy (shubhamsrg):

finally 100 1o 2c 4o 5c 10o 20c 25o 50c 100o nice.. thanks..

OpenStudy (lgbasallote):

welcome

OpenStudy (shubhamsrg):

can there be some reason why its always sq. no ? or its just a pattern ? ! ?

OpenStudy (lgbasallote):

it's a tedious proof... lol

OpenStudy (lgbasallote):

i just know the trial and error proof of it

OpenStudy (anonymous):

I guess only sq. no have odd number of factors

OpenStudy (shubhamsrg):

aha..yes it seems so..lol..might make up another good ques that only sq no. have odd no. of factors! :D

OpenStudy (shubhamsrg):

damn i closed the quess,,wait i shall tag,,

OpenStudy (shubhamsrg):

@mukushla @eliassaab

OpenStudy (anonymous):

Oh..... got it....... I think I can prove it

OpenStudy (anonymous):

IF its not an sq. number.... for example 12 then the factors are 1,2,3,4,6,12

OpenStudy (anonymous):

right?

OpenStudy (shubhamsrg):

yes..

OpenStudy (anonymous):

|dw:1345558048314:dw|Now,

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!