OFFSET
0,5
COMMENTS
The symmetric group has p(n) conjugacy classes and order n!.
The next zero term after a(39), if it exists, is at index n > 2000000. See A046668.
REFERENCES
A. NiShe, Commutativity and Generalizations in Finite Groups, PhD Thesis, University College Cork (2000).
LINKS
Robert Heffernan and Des Machale, The genesis of a conjecture in number theory, Irish Math. Soc. Bulletin Number 93, Summer 2024, 39-41 ISSN 0791-5578.
EXAMPLE
a(4) = 4! mod p(4) = 24 mod 5 = 4.
MAPLE
a:= n-> n! mod combinat:-numbpart(n):
seq(a(n), n=0..100);
MATHEMATICA
a[n_] := Mod[n!, PartitionsP[n]]; Array[a, 100]
PROG
(Python) from sympy import factorial, npartitions
def a(n):
return factorial(n) % npartitions(n)
print([a(n) for n in range(1, 101)])
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
OisÃn Flynn-Connolly, Jun 30 2026
STATUS
approved