OFFSET
1,1
COMMENTS
Morris writes: E. Thorp introduced the following card shuffling model. Suppose the number of cards n is even. Cut the deck into two equal piles. Drop the first card from the left pile or from the right pile according to the outcome of a fair coin flip. Then drop from the other pile. Continue this way until both piles are empty. We show that if n is a power of 2 then the mixing time of the Thorp shuffle is O(log^3 n). Previously, the best known bound was O(log^4 n).
This sequence seems to be unrelated to the Thorp shuffle in which the bound is log^3 x = (log x)^3 rather than log log log x. - Charles R Greathouse IV, Sep 04 2015
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..11
Ben Morris, Improved mixing time bounds for the Thorp shuffle, arXiv:0912.2759 [math.PR], Dec 14, 2009.
FORMULA
EXAMPLE
a(1) = 2 because log(log(log(2^2))) ~ -1.1189142050548055457 whose floor is -2.
a(2) = 3 because log(log(log(2^3))) ~ -0.31183902548187902095 whose floor is -1.
MATHEMATICA
a[n_] := Ceiling[Exp[Exp[n - 3] - Log@ Log@ 2]]; Array[a, 11] (* Robert G. Wilson v, Feb 05 2013 *)
PROG
(PARI) a(n)=ceil(exp(exp(n-3))/log(2)) \\ Charles R Greathouse IV, Dec 20 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Dec 16 2009
EXTENSIONS
Two more terms from R. J. Mathar, Mar 31 2010
STATUS
approved