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.

A246069 Number of maximal classes determined by permutations.

Original entry on oeis.org

0, 1, 1, 3, 6, 35, 120, 105, 1120, 19089, 362880, 133595, 39916800, 148397535, 458313856, 2027025, 1307674368000, 6133352225, 355687428096000, 40549021532019, 4139906028544000, 464463124401214575, 51090942171709440000, 1173011341727225
Offset: 1

Views

Author

Sean A. Irvine, Aug 25 2014

Keywords

Comments

Corresponds to r_2(k) in the Rosenberg paper.

Crossrefs

Cf. A002826.

Programs

  • Maple
    a:= n -> add(n!/((n/p)! * p^(n/p) * (p-1)), p = numtheory:-factorset(n)):
    seq(a(n), n=1..100); # Robert Israel, Aug 27 2014
  • Mathematica
    a[n_] := If[n == 1, 0, Sum[n!/((n/p)! p^(n/p) (p-1)), {p, FactorInteger[n][[All, 1]]}]]; Array[a, 100] (* Jean-François Alcover, Mar 22 2019, after Robert Israel *)

Formula

a(n) = sum(n! / (m! * p^m * (p-1)), n = p * m, p prime). (corrected by Robert Israel, Aug 27 2014)