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.

Showing 1-2 of 2 results.

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

A219243 Number of permutations of order n at the largest transposition distance (= A065603(n)) from the identity permutation.

Original entry on oeis.org

1, 1, 1, 1, 31, 45, 1513, 2836, 114327, 255053, 12537954, 31599601, 427, 5246800005
Offset: 1

Views

Author

Max Alekseyev, Nov 16 2012

Keywords

References

  • J. Gonçalves, L. R. Bueno, and R. A. Hausen, "A New and Improved Transposition Distance Database", Poster at RECOMB-CG 2012.

Crossrefs

Formula

a(n) = A164366(n, A065603(n)).
Showing 1-2 of 2 results.