On Shuffling Cards

From MaRDI portal





By a shuffle of a deck of cards the authors mean a rearrangement achieved by placing the second card on top of the first, the third below the first two, the fourth above the first three, and so on. With \(2n\) cards, the original ordering occurs again after \(m\) shuffles, where \(m\) is the least positive integer such that \(4n+1\) divides \(2^n+1\) or \(2^n-1\). Thus \(m\leq 2n\). Further, \(m = 2n\) if and only if \(4n+1\) is a prime, \(n\) is odd and \(2\) is a primitive root modulo \(4n+1\).











This page was built for publication: On Shuffling Cards

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5585470)