OFFSET
1,6
COMMENTS
The Heinz number of an integer partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k).
Number of distinct values obtained when A290103 is applied to all divisors of n larger than one. - Antti Karttunen, Sep 25 2018
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
EXAMPLE
462 is the Heinz number of (5,4,2,1) which has possible LCMs of nonempty submultisets {1,2,4,5,10,20} so a(462) = 6.
MATHEMATICA
Table[Length[Union[LCM@@@Rest[Subsets[If[n==1, {}, Cases[FactorInteger[n], {p_, k_}:>PrimePi[p]]]]]]], {n, 100}]
PROG
(PARI)
A290103(n) = lcm(apply(p->primepi(p), factor(n)[, 1]));
A316556(n) = { my(m=Map(), s, k=0); fordiv(n, d, if((d>1)&&!mapisdefined(m, s=A290103(d)), mapput(m, s, s); k++)); (k); }; \\ Antti Karttunen, Sep 25 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 06 2018
EXTENSIONS
More terms from Antti Karttunen, Sep 25 2018
STATUS
approved