OFFSET
1,6
COMMENTS
A generalized Young tableau of shape y is an array obtained by replacing the dots in the Ferrers diagram of y with positive integers. A tableau is normal if its entries span an initial interval of positive integers. The Heinz number of an integer partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k).
EXAMPLE
The a(15) = 11 tableaux:
1 2 3 1 2 4 1 3 4 1 2 5 1 3 5
4 5 3 5 2 5 3 4 2 4
.
1 2 3 1 2 3 1 2 4 1 2 4 1 3 4
2 4 3 4 2 3 3 4 2 4
.
1 2 3
2 3
MATHEMATICA
a[n_]:=If[n===1, 1, Sum[a[n/q*Times@@Cases[FactorInteger[q], {p_, k_}:>If[p===2, 1, NextPrime[p, -1]^k]]], {q, Select[Rest[Divisors[n]], SquareFreeQ]}]];
Array[a, 100]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 26 2018
STATUS
approved