Mathematics
The number of in shuffles required to return a deck of cards of even size N, to original order is given by the multiplicative order of 2 modulo (N + 1).
For example, for a deck size of N = 2, 4, 6, 8, 10, 12 ..., the number of in shuffles needed are: 2, 4, 3, 6, 10, 12, 4, 8, 18, 6, 11, ... (sequence A002326 in OEIS).
For a standard deck of 52 playing cards, the number of in shuffles required to return the deck to its original order is 52.
Read more about this topic: In Shuffle
Famous quotes containing the word mathematics:
“Why does man freeze to death trying to reach the North Pole? Why does man drive himself to suffer the steam and heat of the Amazon? Why does he stagger his mind with the mathematics of the sky? Once the question mark has arisen in the human brain the answer must be found, if it takes a hundred years. A thousand years.”
—Walter Reisch (19031963)
“Mathematics alone make us feel the limits of our intelligence. For we can always suppose in the case of an experiment that it is inexplicable because we dont happen to have all the data. In mathematics we have all the data ... and yet we dont understand. We always come back to the contemplation of our human wretchedness. What force is in relation to our will, the impenetrable opacity of mathematics is in relation to our intelligence.”
—Simone Weil (19091943)