How Many Shuffles to Mix a Deck?
نویسنده
چکیده
A simple probabilistic model is devised to determine the number of shuffles required for the bottom card of a deck to become uniformly distributed with a specified tolerance. This number is a lower bound on the number of shuffles needed for the entire deck to be randomly mixed. We wish to find a lower bound on the number of riffle shuffles required to mix a deck of k cards. In such a shuffle, the deck is cut at random and then the two parts are riffled together. For simplicity we shall assume that the location of the cut is uniformly distributed, so that the probability is 1 /(k 1) that the cut is just below any one of the first k 1 cards. Furthermore, we assume that the bottom cards of the two parts are equally likely to be the bottom card after the riffle. Therefore each has probability 1/2 of being the new bottom card. To obtain a lower bound on the number of shuffles, we consider the original bottom card. It will be the bottom card of one of the two parts after the first cut, so it has probability 1/2 of still being on the bottom after one shuffle. Therefore, the probability that it remains on the bottom throughout n shuffles is 1/2 n. When a 52-card deck is well mixed, the probability that any given card is on the bottom must lie between (1 e) and (1 + e) for some e > 0, which indicates how close the deck is to random. Therefore, for the deck to be mixed, it is necessary that 1/2," < (1 + e) so n > log2[ 52 20 .625, n must be > 6. ]. This shows that for e < For a deck of k cards this argument yields n > log 2 k log 2 (1 + e) , log 2 k e / In 2. The last expression holds for e << 1. We shall now calculate exactly the probability Pn that the original bottom card is on the bottom after n shuffles of a k card deck. To do so we observe that p,'+l is given by The first term in brackets is the probability that the card was on the bottom after n shuffles. The second term is the probability Pn that it was not on the bottom, times the probability that the deck …
منابع مشابه
A Rule of Thumb for Riffle Shuffling
We study how many riffle shuffles are required to mix n cards if only certain features of the deck are of interest, e.g. suits disregarded or only the colors of interest. For a wide variety of features, the number of shuffles drops from 3 2 log2 n to log2 n. We derive closed formulae and an asymptotic ‘rule of thumb’ formula which is remarkably accurate.
متن کاملRiffle shuffles of decks with repeated cards
By a well-known result of Bayer and Diaconis, the maximum entropy model of the common riffle shuffle implies that the number of riffle shuffles necessary to mix a standard deck of 52 cards is either 7 or 11 — with the former number applying when the metric used to define mixing is the total variation distance and the later when it is the separation distance. This and other related results assum...
متن کاملRapid mixing of dealer shuffles and clumpy shuffles
A famous result of Bayer and Diaconis [2] is that the Gilbert-Shannon-Reeds (GSR) model for the riffle shuffle of n cards mixes in 3 2 log2 n steps and that for 52 cards about 7 shuffles suffices to mix the deck. In this paper, we study variants of the GSR shuffle that have been proposed to model more realistically how people actually shuffle a deck of cards. The clumpy riffle shuffle and deale...
متن کاملCard-Shuffling Analysis with Markov Chains
In this essay we shall discuss mathematical models of card-shuffling. The basic question to answer is ”how many times do you need to shuffle a deck of cards for it to become sufficiently randomized?”. This obviously depends on what we mean by shuffling and sufficiently randomized so we shall dwell quite a bit on these points too. In section 2 we will name and describe some popular shuffles. The...
متن کاملRiffle Shuffles of a Deck with Repeated Cards
We study the Gilbert-Shannon-Reeds model for riffle shuffles and ask ’How many times must a deck of cards be shuffled for the deck to be in close to random order?’. In 1992, Bayer and Diaconis gave a solution which gives exact and asymptotic results for all decks of practical interest, e.g. a deck of 52 cards. But what if one only cares about the colors of the cards or disregards the suits focu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- SIAM Review
دوره 37 شماره
صفحات -
تاریخ انتشار 1995