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.

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

A040175 a(n) = n! times probability that an ordered pair of elements of S_n chosen at random (with replacement) generate S_n.

Original entry on oeis.org

3, 9, 57, 318, 3090, 24666, 234879, 2381481, 26777922, 324421053, 4265966685
Offset: 3

Views

Author

Keywords

Comments

Probability is A040173(n)/A040174(n) = a(n)/n!.
Note that a(2)=3/2 is not integer.

Examples

			Probabilities for n=1,2,3,... are 1, 3/4, 1/2, 3/8, 19/40, ...
		

References

  • J. D. Dixon, Problem 923 (BCC20.17), Indecomposable permutations and transitive groups, in Research Problems from the 20th British Combinatorial Conference, Discrete Math., 308 (2008), 621-630.

Crossrefs

Formula

a(n) = A071605(n)/n!.

Extensions

Edited by Max Alekseyev, Jan 28 2012
a(10)-a(13) from Stephen A. Silver, Feb 21 2013
Showing 1-2 of 2 results.