login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A335633 Number of ordered ways of writing the n-th n-gonal number as a sum of n n-gonal numbers (with 0's allowed). 2
1, 1, 3, 6, 5, 95, 336, 2597, 26832, 197577, 1847800, 14621101, 129754956, 1146534701, 12342194879, 161225146370, 2464561564936, 39642413790129, 620059254486798, 9430493858327959, 136438759335452360, 1881721996407396801, 24999081626667425376, 321601467988647184779 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Polygonal Number
FORMULA
a(n) = [x^p(n,n)] (Sum_{k=0..n} x^p(n,k))^n, where p(n,k) = k * (k * (n - 2) - n + 4) / 2 is the k-th n-gonal number.
EXAMPLE
a(3) = 6 because the third triangular number is 6 and we have [6, 0, 0], [0, 6, 0], [0, 0, 6], [3, 3, 0], [3, 0, 3] and [0, 3, 3].
MATHEMATICA
Table[SeriesCoefficient[Sum[x^(k (k (n - 2) - n + 4)/2), {k, 0, n}]^n, {x, 0, n (n^2 - 3 n + 4)/2}], {n, 0, 23}]
PROG
(PARI)
p(n, k) = {k * (k * (n - 2) - n + 4) / 2}
a(n) = {my(m=p(n, n)); polcoef((sum(k=0, n, x^p(n, k)) + O(x*x^m))^n, m)} \\ Andrew Howroyd, Oct 03 2020
CROSSREFS
Sequence in context: A121867 A307132 A300673 * A009193 A144253 A152422
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 03 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)