Cayley's mousetrap

Mousetrap is the name of a game introduced by the English mathematician Arthur Cayley. In the game, cards numbered through ("say thirteen" in Cayley's original article) are shuffled to place them in some random permutation and are arranged in a circle with their faces up. Then, starting with the first card, the player begins counting and moving to the next card as the count is incremented. If at any point the player's current count matches the number on the card currently being pointed to, that card is removed from the circle and the player starts all over at

Cayley's mousetrap

Mousetrap is the name of a game introduced by the English mathematician Arthur Cayley. In the game, cards numbered through ("say thirteen" in Cayley's original article) are shuffled to place them in some random permutation and are arranged in a circle with their faces up. Then, starting with the first card, the player begins counting and moving to the next card as the count is incremented. If at any point the player's current count matches the number on the card currently being pointed to, that card is removed from the circle and the player starts all over at