Get the latest tech news

The Math of Card Shuffling


Riffling from factory order to complete randomness.

If this procedure is repeated, eventually the top card will be placed at the very bottom of the deck, shifting the K♦ to the penultimate position. Continuing this procedure, the original bottom card, the K♦, will eventually rise to the top of the deck and be riffled. Notice how it takes many riffles to move the K♦ up just a few positions, but once the K♦ starts rising towards the top of the deck, it accelerates.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of math

math

Photo of Card Shuffling

Card Shuffling

Related news:

News photo

Teaching general problem-solving skills is not a substitute for teaching math [pdf] (2010)

News photo

Perplexity’s ‘Pro Search’ AI upgrade makes it better at math and research

News photo

The math on unplayed Steam “shame” is way off—and no cause for guilt