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.

A071605 Number of ordered pairs (a,b) of elements of the symmetric group S_n such that the pair a,b generates S_n.

Original entry on oeis.org

1, 3, 18, 216, 6840, 228960, 15573600, 994533120, 85232891520, 8641918252800, 1068888956889600, 155398203460684800, 26564263279602048000
Offset: 1

Views

Author

Sharon Sela (sharonsela(AT)hotmail.com), Jun 02 2002

Keywords

Comments

a(n) is an Eulerian function of S_n. - Kenneth G. Hawes, Nov 25 2019

Crossrefs

Programs

  • GAP
    a := function(n)
      local tom, mu, lens, orders, num, k;
      tom := TableOfMarks(Concatenation("S",String(n)));
      if tom = fail then tom := TableOfMarks(SymmetricGroup(n)); fi;
      mu :=  MoebiusTom(tom).mu;
      lens := LengthsTom(tom);
      orders := OrdersTom(tom);
      num := 0;
      for k in [1 .. Length(lens)] do
        if IsBound(mu[k]) then
          num := num + mu[k] * lens[k] * orders[k]^2;
        fi;
      od;
      return num;
    end; # Stephen A. Silver, Feb 20 2013

Formula

Except for n=2 (because of the "replacement") in A040175, a(n) = n! * A040175(n).
a(n) = 2 * A001691(n) for n > 2.

Extensions

a(10)-a(13) added by Stephen A. Silver, Feb 20 2013