login
A280952
Expansion of Product_{k>=0} 1/(1 - x^(5*k*(k+1)/2+1)).
7
1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 9, 10, 11, 11, 12, 12, 13, 14, 15, 15, 16, 16, 17, 18, 19, 19, 20, 21, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 37, 38, 40, 42, 44, 45, 47, 49, 51, 53, 55, 56, 58, 60, 62, 64, 67, 68, 71, 74, 77, 79, 83, 85, 88, 91, 94, 96, 100
OFFSET
0,7
COMMENTS
Number of partitions of n into centered pentagonal numbers (A005891).
LINKS
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to arXiv version]
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to Lin. Alg. Applic. version together with omitted figures]
Eric Weisstein's World of Mathematics, Centered Pentagonal Number
FORMULA
G.f.: Product_{k>=0} 1/(1 - x^(5*k*(k+1)/2+1)).
EXAMPLE
a(12) = 3 because we have [6, 6], [6, 1, 1, 1, 1, 1, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
MAPLE
h:= proc(n) option remember; `if`(n<0, 0, (t->
`if`(((t+1)*5*t+2)/2>n, t-1, t))(1+h(n-1)))
end:
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<0, 0,
b(n, i-1)+(t-> b(n-t, min(i, h(n-t))))(((i+1)*5*i+2)/2)))
end:
a:= n-> b(n, h(n)):
seq(a(n), n=0..100); # Alois P. Heinz, Dec 28 2018
MATHEMATICA
nmax = 88; CoefficientList[Series[Product[1/(1 - x^(5 k (k + 1)/2 + 1)), {k, 0, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 11 2017
STATUS
approved