lkakis.blogg.se

Door puzzle tell me why
Door puzzle tell me why













door puzzle tell me why

the third time, every 3rd door (door #3, #6, #9), ec, until you only visit the 100th door.Tyler has short brown hair in an undercut and light eyes. the second time you only visit every 2nd door (door #2, #4, #6). (if the door is closed, you open it, if its open, you close it). the first time through you visit every door and toggle the door you make 100 passes by the doors starting with the first door every time. You have 100 doors in a row that are all initially closed. only perfect square doors will be open at the end. but 3 is repeated because 9 is a perfect square, so you will only visit door #9, on pass 1, 3, and 9… leaving it open at the end. so you might think that every door will end up closed? well what about door #9.

door puzzle tell me why

For every pair of divisors the door will just end up back in its initial state. so on pass 1 i will open the door, pass 2 i will close it, pass 19 open, pass 38 close. You can figure out that for any given door, say door #38, you will visit it for every divisor it has. Puzzle asked in: Google/Adobe/Amazon/Oracle What state are the doors in after the last pass? Which are open which are closed? the third time, every 3rd door (door #3, #6, #9), ec, until you only visit the 100th door. the second time you only visit every 2nd door (door #2, #4, #6). the first time through you visit every door and toggle the door (if the door is closed, you open it, if its open, you close it).

door puzzle tell me why

you make 100 passes by the doors starting with the first door every time. You have 100 doors in a row that are all initially closed.















Door puzzle tell me why