Fewer Shuffles Suffice
An anonymous reader writes "You may have heard that it takes about seven shuffles to mix up a deck of cards to near randomness. Turns out, though, that most of the time, perfect randomness is more than you need. In blackjack, for example, you don't care about suits. The same mathematician who developed the original result now says that for many games, four shuffles is enough. And the result isn't only important for card sharks. It helps reveal the math underlying Markov Chain Monte Carlo simulations, telling applied mathematicians when they can stop their simulations."
My reply was shuffled 4 times and it's now at a completely random position!
4 shuffles should be enough for everyone.
With 4 shuffles I still can't pick the song I want.
Thank you Slashdot, not only is it Friday, but I feel so much better about my own life/career now knowing that there are mathematicians out there hellbent on card shuffling simulations.
...deck shuffles you.
It helps reveal the math underlying Markov Chain Monte Carlo simulations, telling applied mathematicians when they can stop their simulations.
Please! Stop your simulations already! Think of the Children!
Quick, somebody report a bug to Microsoft. Free Cell and Hearts need a patch!
"We're all enthusiastic," Diaconis says, "because you can describe it to your mom, the math is hard, and the results are interesting."
RTFA just for it to turn out to be a Your-Mom joke. Thanks guys. You really got me.
Not so obligatory link: http://xkcd.com/221/
Any life is made up of a single moment, the moment in which a man finds out, once and for all, who he is.
If you take a great hand made of five cards together, then distribute them one at a time to several people, there's no need to worry that the full house that won last hand will just get handed back to the same person (or another) again. It would take one hell of a shuffling to hand back those same five cards to someone again the next round!
I've seen this assertion, and never quite understood it. I mean, if you're doing a perfect interleave shuffle, dividing the cards into two piles A and B and then weaving them together ABABABAB and so on, in what sense is that random? No matter how many times you iterate, it's still a purely deterministic process and you can easily predict the order of cards in the deck post-shuffle. So how do you get a random non-predictable card order out of this?
I can understand that in real life, you're not going to shuffle perfectly, there'll be a few more cards in one pile than the other, your interleave will occasionally do something like ABBBAABA instead of being perfect, and so forth, but in that case I don't see how you can say "Oh, it'll be random after 7 shuffles," because it'll depend on the amount of imperfection. And even then, this still doesn't strike me as actual random behavior; it's still deterministic, it just doesn't matter because a human observer isn't capable of observing the information he'd need to predict card order. But that information's still *there*, and a theoretical perfect observer will still be able to know what the card order is. With a truly random sequence, there is *no* way to determine the order, even given a perfect observer.
welcome our new less-thoroughly-shuffled overlords. (I am truly sorry for that, but I couldn't resist)
What we really need is a ten day waiting period and a background check before you can buy a congressman.
Technically the very act of shuffling the deck is not random. For instance I know several people who can shuffle a deck "perfectly". That is, split the desk exactly in half and then interleave every other card perfectly. They do it so fast that you can't tell that it wasn't a random shuffle.
First! (this shuffling really works!)
Extreme Programming - Redundant Array of Inexpensive Developers
I think I'd rather know how many shuffles past 4 or 7 does a deck lose its randomness, if it does at all. And if it does, how many shuffles of a fresh deck would it take to go from ordered to random to ordered again?
Shuffle tracking and sequencing techniques are well developed, and (very) skilled players regularly do these techniques to get an edge against the house.
The house doesn't shuffle thoroughly to ensure randomness, it does so to thwart advantage players.
I used to play complicated variants of Solitaire. I needed pretty much every one of those shuffles and then usually one more to make up for the terrible shuffle that was done really horribly.
In these variants, one small blockage of 3 cards stuck together from last game due to an incorrect shuffle can lose you the next round.
I file this under Texas SharpShooter.
http://en.wikipedia.org/wiki/Texas_sharpshooter_fallacy
"Let's discard games from the set of all games until they qualify under four shuffles!"
My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
If you'd like to play with solving simple substitution ciphers using both dictionary attacks and hill-climbing methods (similar to the method described in the paper), try Decrypto. It's open source, too.
http://www.blisstonia.com/software/Decrypto
I've played far more than my share of cards, from CCGs and other proprietary games to standard 4-suit 52-card playing cards (learning to shuffle 200-card decks in Magic:TG before we discovered that a 60 card deck was optimal sure made me good at shuffling!), and let me say this: some people shuffle better than others.
Quality of shuffling varies widely; If I concentrate, I can get a clean broken-in deck to shuffle perfectly alternating cards from each half (though this is undesirable as it is not random). On the other end of the spectrum, many people shuffle very large chunks alternating, which is only as random as the cards are clean (which is to say, usually not very random).
Methods of shuffling also vary. There is the standard "Riffle" shuffle that was probably used in this study, there is overhand shuffling (taking small piles of cards from one or both sides of the deck and assembling them in a different order elsewhere), and there are several other methods. Because my riffle can sometimes be too precise, I will actually alternate riffle and overhand shuffles, performing three of each when I shuffle a deck.
In Magic: The Gathering, it is common to table-shuffle, which is essentially dealing out the cards into a set number of piles (usually 4-6 as they each divide a 60 card deck evenly, thus letting you ensure the cards are all there). This assures absolutely no clumping of dirty cards. Since it isn't very random, it should be followed by proper shuffling. (M:TG tournament rules now require three riffle shuffles since some people insist upon table-shuffling to preserve their expensive cards.) I use this method when dealing with dirty standard cards, too.
The WikiPedia page on Shuffling is actually amazingly informative, covering different shuffling methods, fake shuffle tricks (for magic tricks or cheating), shuffle-tracking (for gamblers), and far more math than the article linked in this sciencenews.org article. Give it a gander.
Use my userscript to add story images to Slashdot. There's no going back.
But maybe the "blockage" occurred purely by chance, even though you did shuffle well. ;-)
That's the problem with randomness... you can never be sure: http://www.random.org/analysis/dilbert.jpg
"They were pure niggers." – Noam Chomsky
Dood - it doesn't get any more random after a while...
There are other problems with your idea as well, but I can't be bothered...
I play bridge. All 52 cards matter. 7 shuffles? Hell no!
On an average evening, 24 people shuffle a deck each. On average, the distributions of the cards is far from what you'd expect from a good (say by a computer) shuffle....
Shuffle standards vary depending on the region. As an American, I'm used to riffle shuffle as the standard method. If you try to use another method, even in a casual game, you will likely get complaints from other players that you haven't really shuffled the cards. But in Australia, I found that most people used overhead shuffling. More than once my use of the riffle shuffle was commented on as being usual. However, I did note that the professional poker dealers at the casino in Melbourne did use a riffle shuffle for their tables.
If your random number generator is truly random, a single pass will scatter your dataset. The problem Monte Carlo simulations can run into is not the number of passes through the randomizer but relying on a crappy non-random generator.
Get you back where you started.
Try it sometime.
You are being MICROattacked, from various angles, in a SOFT manner.
Riffle shuffling is "professional-grade" in that it is the most thorough, and it is standard in the States. Throughout Asia and other parts, the "Hindu shuffle," which is very similar to the overhand method, is the most prevalent (as explained at WikiPedia:Shuffling#Hindu shuffle).
Most of the Asians and Australians I've played with actually use Hindu rather than overhand, so I'd guess that's what you saw. The difference is in the delivery of the cards from one pile to the other; in overhand, you're dropping them from one stack to the other (so the hand holding the original stack is doing all the action), whereas in Hindu, the action is in your free hand, which takes the cards from the main stack and slaps them back in a different position. This is typically done horizontally whereas overhand can be done in almost any position (usually at an almost vertical angle to use gravity).
Hmm, that's a better description than on Wikipedia. I'll be right back...
Use my userscript to add story images to Slashdot. There's no going back.
ok 4 shuffles? But how many rounds of 52 card pickup. Just one methinks.
I Need someone to rebuild a Digitech Digital Delay pedal for me....for me...for me...for me.