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.

A065603 Transposition diameter: maximal number of moves in an optimal sorting of n objects by moving blocks.

Original entry on oeis.org

0, 1, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9
Offset: 1

Views

Author

N. J. A. Sloane, Dec 02 2001

Keywords

Comments

Arises in sorting cards in a bridge hand; also in computational biology because block move is a fundamental type of mutation, called transposition.
de A. Hausen et al. (2008) showed that 9 <= a(16) <= 10.

Crossrefs

Formula

It is conjectured that a(n) = ceiling((n+1)/2) for n >= 3 except for n = 13 and 15.
From Petros Hadjicostas, Dec 16 2019: (Start)
ceiling((n-1)/2) <= a(n) <= floor(3*n/4) for n >= 1 (Eriksson et al. (2001) state that these inequalities were proved in Bafna and Pevnzer (1998)).
ceiling((n+1)/2) <= a(n) <= floor((2*n-2)/3) for n >= 3 (see p. 293 in Eriksson et al. (2001)). (End)

Extensions

Definition corrected by Peter Lipp, Dec 16 2008
Edited by Max Alekseyev, Nov 07 2011