OFFSET
1,4
COMMENTS
a(n) is also the number of ways to partition a group of order n into its center and its nontrivial conjugacy classes. That is, the number of possible sums in the class equation.
REFERENCES
D. S. Dummit and R. M. Foote, Abstract Algebra, Wiley, 3rd edition 2003, page 124.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
FORMULA
a(n) is the coefficient of x^n in the expansion of (1 + x)/Product_{d>1,d divides n} (1 - x^d).
EXAMPLE
a(15) = 4 because we have: [15], [5,5,5], [5,3,3,3,1], [3,3,3,3,3].
MAPLE
with(numtheory):
a:= proc(n) local b, l; l:= sort([(divisors(n) minus {1})[]]):
b:= proc(m, i) option remember; `if`(m=0, 1, `if`(i<1,
`if`(m=1, 1, 0), b(m, i-1)+`if`(l[i]>m, 0, b(m-l[i], i))))
end; forget(b):
b(n, nops(l))
end:
seq(a(n), n=1..100); # Alois P. Heinz, Oct 18 2015
MATHEMATICA
Table[d = Drop[Divisors[n], 1]; Coefficient[Series[(1 + x)/Product[1 - x^d[[i]], {i, Length[d]}], {x, 0, n}], x, n], {n, 70}]
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Geoffrey Critzer, Oct 18 2015
STATUS
approved
