OFFSET
1,25
COMMENTS
The Heinz number of an integer partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k).
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537
FORMULA
EXAMPLE
The partition with Heinz number 715 is (6,5,3), with diagram
o o o o o o
o o o o o
o o o
which has inner lining
o o
o o o
o o o
or largest hook
o o o o o o
o
o
both of which have complement
o o o o
o o
which has size 6, so a(715) = 6.
MATHEMATICA
Table[If[n==1, 0, Total[Most[Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]]-1]], {n, 100}]
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 02 2019
EXTENSIONS
More terms from Antti Karttunen, Apr 14 2019
STATUS
approved