login
A337764
Number of compositions (ordered partitions) of the n-th n-gonal number into n-gonal numbers.
5
1, 1, 2, 7, 124, 14371, 12842911, 103590035354, 8621925847489749, 8307493939404888703058, 102488432265617100812550713499, 17706351554929677399562928448484650120, 46435685450659378932235460132506329282776942795
OFFSET
0,3
FORMULA
a(n) = [x^p(n,n)] 1 / (1 - Sum_{k=1..n} x^p(n,k)), where p(n,k) = k * (k * (n - 2) - n + 4) / 2 is the k-th n-gonal number.
EXAMPLE
a(3) = 7 because the third triangular number is 6 and we have [6], [3, 3], [3, 1, 1, 1], [1, 3, 1, 1], [1, 1, 3, 1], [1, 1, 1, 3] and [1, 1, 1, 1, 1, 1].
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 19 2020
STATUS
approved