cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A055388 Number of riffle shuffles of 2n cards required to return the deck to its initial state.

Original entry on oeis.org

2, 2, 4, 6, 6, 10, 12, 4, 8, 18, 6, 22, 20, 18, 28, 10, 10, 12, 36, 12, 20, 14, 12, 46, 42, 8, 52, 20, 18, 58, 60, 6, 12, 66, 22, 70, 18, 20, 30, 78, 54, 82, 8, 28, 22, 12, 10, 36, 48, 30, 100, 102, 12, 106, 36, 36, 28, 44, 12, 24, 110, 20, 100, 14, 14, 130, 18
Offset: 1

Views

Author

Robert G. Wilson v, Jul 05 2000

Keywords

Comments

Actually called overhand shuffle in the article. - Michel Marcus, Jun 22 2013

Programs

Formula

a(n) = 2*min(k) with k such that 4^k == 1 (mod 2n-1), see page 227 of article. - Michel Marcus, Jun 22 2013