P.J.
0
Trivendrum Padmanabhaswamy temple math puzzle.
The temple has 100 doors and they could be opened or closed only by elephants. To keep the elephants from getting bored, the mahoots had invented a game.
Every night all the 100 doors were closed. There were 100 elephants. Each elephant is instructed to open a closed door or close an open door.
The first elephant went by each of the closed door and opened them.
The second elephant went by every other door and closed them starting with the second door.
The third elephant went every third door and either opened a closed door or closed an open door, starting with the third door.
The fourth elephant went by every fourth door and so on until the hundredth elephant had to deal with just the 100th door.
When the hundredth elephant was done what was the state of each of the hundred doors? Which ones were open and which ones closed?
What if the temple had 1000 doors and 1000 elephants?
No search for answers on the internet please.
Have fun over the weekend.
SOURCE: FB
The temple has 100 doors and they could be opened or closed only by elephants. To keep the elephants from getting bored, the mahoots had invented a game.
Every night all the 100 doors were closed. There were 100 elephants. Each elephant is instructed to open a closed door or close an open door.
The first elephant went by each of the closed door and opened them.
The second elephant went by every other door and closed them starting with the second door.
The third elephant went every third door and either opened a closed door or closed an open door, starting with the third door.
The fourth elephant went by every fourth door and so on until the hundredth elephant had to deal with just the 100th door.
When the hundredth elephant was done what was the state of each of the hundred doors? Which ones were open and which ones closed?
What if the temple had 1000 doors and 1000 elephants?
No search for answers on the internet please.
Have fun over the weekend.
SOURCE: FB