OFFSET
1,1
COMMENTS
The Heinz number of an integer partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k), so these are Heinz numbers of integer partitions with at least two not necessarily distinct parts less than the largest part. The enumeration of these partitions by sum is given by A000094.
These are the numbers whose largest proper divisor is not a prime power. - Christian Perfect, Feb 15 2026
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
EXAMPLE
The sequence of terms together with their prime indices begins:
12: {1,1,2}
20: {1,1,3}
24: {1,1,1,2}
28: {1,1,4}
30: {1,2,3}
36: {1,1,2,2}
40: {1,1,1,3}
42: {1,2,4}
44: {1,1,5}
45: {2,2,3}
48: {1,1,1,1,2}
52: {1,1,6}
56: {1,1,1,4}
60: {1,1,2,3}
63: {2,2,4}
66: {1,2,5}
68: {1,1,7}
70: {1,3,4}
72: {1,1,1,2,2}
76: {1,1,8}
MAPLE
q:= n-> (l-> add(l[i][2], i=1..nops(l)-1)>1)(sort(ifactors(n)[2])):
select(q, [$1..200])[]; # Alois P. Heinz, Apr 12 2019
MATHEMATICA
Select[Range[100], PrimeOmega[#/Power@@FactorInteger[#][[-1]]]>1&]
PROG
(PARI) isok(n)=my(f=factor(n)[, 2]); #f && vecsum(f) >= f[#f] + 2; \\ Andrew Howroyd, Feb 15 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 12 2019
STATUS
approved
