The prince has gone mad and no one can find him! Now, our good luck has it that the prince's madness compels him to always sleep in one of the $6$ royal bedrooms assigned to him - and, for convenience, these rooms have been labelled from $1$ to $6$. Moreover, our prince is sticking rigorously to a routine: He has chosen some cycle of bedrooms to sleep in each night and this cycle is free of repetitions. For instance, if we make a list $s_1,s_2,\ldots$ where $s_i$ is the room he sleeps in on the $i^{th}$ night, all of the following are possible (using just the first three rooms): $$3,2,1,3,2,1,\ldots$$ $$1,3,1,3,1,3,\ldots$$ $$2,2,2,2,2,2,\ldots$$ whereas none of the following are possible: $$3,2,1,2,1,2,\ldots$$ $$1,1,3,1,1,3,\ldots$$ $$1,3,1,2,1,3,1,2,\ldots.$$
You are the royal-prince finder. It is your job to find the prince as fast as possible. You are permitted to wait for the prince in one bedroom each night and you may choose the bedroom you sleep in freely each night. If the prince sleeps there, you will see him and will have completed your job. If the prince does not, you will see nothing.
Now, the king is a patient king - at least as far as kings go - and is willing to forgive you if the prince happens to choose the cycle that evades your strategy for the longest - but if the king ever finds a strategy which guarantees a faster discovery of the prince than yours, it will be off with your head!
Being the royal prince-finder under such conditions, you wonder: What is the strategy that guarantees finding the prince in the least number of nights?