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.

A218913 Number of distinct orders of subgroups of the symmetric group.

Original entry on oeis.org

1, 1, 2, 4, 8, 13, 21, 31, 49, 74, 113, 139, 216, 268
Offset: 0

Views

Author

Liam Naughton, Nov 09 2012

Keywords

Programs

  • GAP
    Size(DuplicateFreeList(List(ConjugacyClassesSubgroups(G), x-> Size(Representative (x)))));
    
  • Sage
    def A218913(n):
        G = SymmetricGroup(n)
        subgroups = G.conjugacy_classes_subgroups()
        return len(set(subG.cardinality() for subG in subgroups))
    # Peter Luschny, Apr 21 2016