Princess in a Palace
A princess is living in a palace which has 17 bedrooms, arranged in a line. There is a door between
You knock on doors:
2, 3,…, 15, 16, 16, 15,…, 3, 2.
This adds up to a total of 30 days exactly. If during the first 15 days you don’t find the princess, this means that every time you were knocking on an even door, she was in an odd room, and vice versa. Now it is easy to see that in the next 15 days you can’t miss her.
We do not know where this puzzle originated from. If you have any information, please let us know via email.