Chan, J. H., and J. Jedwab. “The $n$-Card Problem, Stochastic Matrices, and the Extreme Principle”. The Electronic Journal of Combinatorics, Vol. 19, no. 2, June 2012, p. P53, doi:10.37236/2444.