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.

A238877 Members of a pair (a,b) such that a is the number of Abelian groups of order n and b is the number of non-Abelian groups of order n.

Original entry on oeis.org

1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 1, 1, 0, 3, 2, 2, 0, 1, 1, 1, 0, 2, 3, 1, 0, 1, 1, 1, 0, 5, 9, 1, 0, 2, 3, 1, 0, 2, 3, 1, 1, 1, 1, 1, 0, 3, 12, 2, 0, 1, 1, 3, 2, 2, 2, 1, 0, 1, 3, 1, 0, 7, 44, 1, 0, 1, 1, 1, 0, 4, 10, 1, 0, 1, 1, 1, 1, 3, 11, 1, 0, 1, 5, 1, 0
Offset: 1

Views

Author

Michel Lagneau, Mar 24 2014

Keywords

Comments

Pairs (A000688(n),A060689(n)).

Examples

			The 8th pair {3,2} is in the sequence because there exists 5 finite groups of order 8: 3 Abelian groups and 2 non-Abelian groups.
		

Crossrefs

Programs

  • Mathematica
    lst:={};f[n_]:=Times@@PartitionsP/@Last/@FactorInteger@n;g[n_]:=FiniteGroupCount[n]-FiniteAbelianGroupCount[n];Do[AppendTo[lst,{f[n],g[n]}],{n,80}];Flatten[lst]