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.

A218915 Number of missing subgroup orders of the symmetric group, that is, i divides Factorial(n) but the symmetric group on n points does not have a subgroup of order i.

Original entry on oeis.org

0, 0, 0, 0, 0, 3, 9, 29, 47, 86, 157, 401, 576, 1316
Offset: 0

Views

Author

Liam Naughton, Nov 09 2012

Keywords

Programs

  • GAP
    Size(Difference(DivisorsInt(Factorial(n)), DuplicateFreeList(List(ConjugacyClassesSubgroups(SymmetricGroup(n)), x->Size(Representative(x))))));
  • Mathematica
    A[s_Integer] := With[{s6 = StringPadLeft[ToString[s], 6, "0"]}, Cases[ Import["https://oeis.org/A" <> s6 <> "/b" <> s6 <> ".txt", "Table"], {, }][[All, 2]]];
    A027423 = A@027423;
    A218913 = A@218913;
    a[n_] := A027423[[n+1]] - A218913[[n+1]];
    a /@ Range[0, 13] (* Jean-François Alcover, Jan 08 2020 *)

Formula

a(n) = A027423(n) - A218913(n).