OFFSET
1,2
COMMENTS
The Heinz number of a factorization (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).
EXAMPLE
The strict factorizations of 80 are (2*4*10), (2*5*8), (2*40), (4*20), (5*16), (8*10), (80), with Heinz numbers 609, 627, 519, 497, 583, 551, 409 respectively, so a(80) = 627.
MATHEMATICA
facs[n_]:=If[n<=1, {{}}, Join@@Table[(Prepend[#1, d]&)/@Select[facs[n/d], Min@@#1>=d&], {d, Rest[Divisors[n]]}]];
Table[Max[Times@@Prime/@#&/@Select[facs[n], UnsameQ@@#&]], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 05 2018
STATUS
approved