It is the story of an organization manufacuring precision card-shuffling machines for casinos — and a gang of hustlers who used a hidden video digital camera to movie the shuffler’s insides. “The photographs, transmitted to an confederate exterior within the on line casino car parking zone, had been performed again in gradual movement to determine the sequence of playing cards within the deck,” remembers the BBC, “which was then communicated again to the gamblers inside. The on line casino misplaced hundreds of thousands of {dollars} earlier than the gang had been lastly caught.”
So the corporate turned for assist to a mathematician/magician:
The executives had been decided to not be hacked once more. That they had developed a prototype of a complicated new shuffling machine, this time enclosed in an opaque field. Their engineers assured them that the machine would sufficiently randomise a deck of playing cards with one cross by means of the system, decreasing the time between arms whereas additionally beating card-counters and crooked sellers. However they wanted to ensure that their machine correctly shuffled the deck. They wanted Persi Diaconis.
Diaconis, a magician-turned-mathematician at Stanford College, is thought to be the world’s foremost knowledgeable on the arithmetic of card shuffling. All through the surprisingly giant scholarly literature on the subject, his identify retains popping up just like the ace of spades in a magician’s sleight-of-hand trick. So, when the corporate executives contacted him and supplied to let him see the internal workings of their machine — a literal “black field” — he could not imagine his luck. Along with his collaborator Susan Holmes, a statistician at Stanford, Diaconis travelled to the corporate’s Las Vegas showroom to look at a prototype of their new machine.
The pair quickly found a flaw. Though the mechanical shuffling motion appeared random, the mathematicians seen that the ensuing deck nonetheless had rising and falling sequences, which meant that they may make predictions in regards to the card order. To show this to the corporate executives, Diaconis and Holmes devised a easy approach for guessing which card could be turned over subsequent. If the primary card flipped was the 5 of hearts, say, they guessed that the following card was the six of hearts, on the belief that the sequence was rising. If the following card was truly decrease — a 4 of hearts, as an example — this meant they had been in a falling sequence, and their subsequent guess was the three of hearts. With this easy technique, the mathematicians had been capable of appropriately guess 9 or 10 playing cards per deck — one-fifth of the whole — sufficient to double or triple the benefit of a reliable card-counter….
The executives had been horrified. “We’re not happy together with your conclusions,” they wrote to Diaconis, “however we imagine them and that is what we employed you for.” The corporate quietly shelved the prototype and switched to a distinct machine.
The article additionally explains why seven shuffles “is simply as near random as will be” — rendering additional shuffling largely ineffective.