= 52 × 51 × 50 × ... × 2 × 1, the number of orders 52 cards can be in: 68 digits.
SHUFFLE THE DECK
HOW BIG IS THAT?
Show the working
THE DECK, TOP TO BOTTOM
HOW FAR FROM RANDOM? (52 CARDS)
Distance after k rifflesYour deck
RIFFLE
Colour by
Riffles
0
Rising sequences
1
This exact order, compared with a perfect shuffle
WHY SEVEN?
A riffle can't move cards far from their old order: after one riffle the deck is two runs of the old order woven together (two rising sequences), after k riffles at most 2k. A well-shuffled deck has about 26 or 27 of them (26.5 on average), so the first five riffles can't get close.
The chart is Bayer and Diaconis's exact distance from random: 1 means you could almost always tell the deck from a shuffled one, 0 means not at all. It stays near 1, then drops sharply: 0.334 after 7 riffles, 0.167 after 8, halving with each riffle after that.
WORK IT OUT
EVERYDAY EXAMPLES
THE ROOM'S BIRTHDAYS
One personShared
CHANCE TWO SHARE A BIRTHDAY
ExpectedSomeone shares yours
THE ROOM
KEY NUMBERS
For a 50% chance
23 people (50.7%)
For a 99% chance
For an even chance someone shares your birthday
253 other people
Why so few? It's the pairs: 23 people make 253 pairs, and any pair can match. The same sum shows a shuffled deck repeating is hopeless: see the 52! tab.