You have a deck of numbered cards from $1$ to $n$. After shuffling the cards randomly, you put them in numbered boxes, from $1$ to $n$, i.e. $1$ card per box. So box $1$ can contain any one card from $1$ to $n$, etc.
You now go to box $1$ and look at the card inside. If the card is, for example, a $4$, you go to box number $4$ and look at the card inside. That card tells you where to go next. You continue, until you reach card $1$ (which would tell you to go to box $1$, which is empty). The number of cards (or steps) is the number of a cycle you just discovered. You then go to the first box with a card inside, and repeat the process. You end up with $1$ to $n$ cycles of $1$ to $n$ cards.
For example, you could have one very big cycle with all the cards, or one big cycle with half of the cards and lots of smaller cycles. If you look into box number $7$ and you find the card with a $7$, that is a $1$-cycle.
What is the probability that no cycle is longer than ${n \over 2}$?
Thank you!