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.

A195931 The number of orbits in S_n by the action of Foata's bijection.

Original entry on oeis.org

1, 1, 2, 5, 16, 56, 236, 998, 4544, 20346
Offset: 0

Views

Author

Austin Roberts, Oct 26 2011

Keywords

Comments

Foata's bijection takes a permutation w with maj(w)=x to a permutation F(w) with inv(F(w))=x. Applying F repeatedly partitions the symmetric group into distinct orbits. F also preserves inverse descent sets.

Examples

			The orbits of S_4 are:
[(1, 2, 3, 4)]
[(2, 1, 3, 4)]
[(2, 3, 1, 4)]
[(2, 3, 4, 1)]
[(3, 2, 1, 4)]
[(3, 2, 4, 1)]
[(3, 4, 2, 1)]
[(4, 3, 2, 1)]
[(2, 1, 4, 3), (4, 2, 1, 3), (2, 4, 1, 3)]
[(2, 4, 3, 1), (4, 2, 3, 1)]
[(1, 3, 2, 4), (3, 1, 2, 4)]
[(1, 3, 4, 2), (3, 1, 4, 2), (3, 4, 1, 2)]
[(1, 4, 3, 2), (4, 3, 1, 2)]
[(4, 1, 3, 2)]
[(1, 2, 4, 3), (4, 1, 2, 3)]
[(1, 4, 2, 3)]
		

References

  • James Pfeiffer, personal communication.

Crossrefs

A207018 Number of permutations in S_n with major index equal to inversion number.

Original entry on oeis.org

1, 2, 4, 10, 28, 116, 576, 3634, 26620, 223440, 2100964, 21888712, 250062982, 3108430640
Offset: 1

Views

Author

William J. Keith, Feb 14 2012

Keywords

Comments

At first equal to and eventually greater than corresponding entry of A195924, number of fixed points of Foata's bijection.
For any large n, the two permutations with maj and inv both 2 are 2314..n, and 14235..n.

Examples

			A(4)=10: the 10 permutations of 4 elements with major index equal to inversion number are
   #:       perm      #inv.   inversion table
   1:    [ 0 1 2 3 ]   0    [ 0 0 0 ]
   2:    [ 0 3 1 2 ]   2    [ 0 2 0 ]
   3:    [ 1 0 2 3 ]   1    [ 0 0 1 ]
   4:    [ 1 2 0 3 ]   2    [ 0 1 1 ]
   5:    [ 1 2 3 0 ]   3    [ 1 1 1 ]
   6:    [ 2 1 0 3 ]   3    [ 0 1 2 ]
   7:    [ 2 1 3 0 ]   4    [ 1 1 2 ]
   8:    [ 2 3 1 0 ]   5    [ 1 2 2 ]
   9:    [ 3 0 2 1 ]   4    [ 1 0 3 ]
  10:    [ 3 2 1 0 ]   6    [ 1 2 3 ]
		

Crossrefs

Cf. A195924.

Extensions

a(14) by Joerg Arndt, Sep 29 2012.
Showing 1-2 of 2 results.