login
A279041
Expansion of Product_{k>=1} 1/(1 - x^(k*(3*k-2))).
6
1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 10, 10, 11, 11, 11, 12, 12, 12, 14, 14, 15, 15, 15, 16, 16, 16, 18, 18, 19, 19, 19, 21, 21, 22, 24, 25, 26, 26, 26, 28, 28, 29, 31, 32, 33, 33, 33, 35, 35, 36, 39, 40, 42, 42, 43, 45, 46, 47, 50, 51, 53
OFFSET
0,9
COMMENTS
Number of partitions of n into nonzero octagonal numbers (A000567).
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, Octagonal Number
FORMULA
G.f.: Product_{k>=1} 1/(1 - x^(k*(3*k-2))).
a(n) ~ Gamma(1 + b/d) * zeta(3/2)^(2/3 + b/(3*d)) * d^(1/6 + b/(3*d)) * exp(3*Pi^(1/3) * zeta(3/2)^(2/3) * n^(1/3) / (2^(4/3)*d^(1/3))) / (sqrt(3)*2^(7/3 + 2*b/(3*d)) * Pi^(7/6 - b/(6*d)) * n^(7/6 + b/(3*d))) * (1 - (136*d^2 + 120*d*b + 3*b^2*(8 - 3*Pi*zeta(1/2)*zeta(3/2))) / (72 * d^(5/3) * Pi^(1/3) * (2*zeta(3/2))^(2/3) * n^(1/3))), where d = 3, b = -2. - Vaclav Kotesovec, Mar 11 2026
EXAMPLE
a(9) = 2 because we have [8, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1].
MAPLE
h:= proc(n) option remember; `if`(n<1, 0, (t->
`if`(t*(3*t-2)>n, t-1, t))(1+h(n-1)))
end:
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
b(n, i-1)+(t-> b(n-t, min(i, h(n-t))))(i*(3*i-2))))
end:
a:= n-> b(n, h(n)):
seq(a(n), n=0..100); # Alois P. Heinz, Dec 28 2018
MATHEMATICA
nmax=90; CoefficientList[Series[Product[1/(1 - x^(k*(3*k-2))), {k, 1, Sqrt[1 + 3 nmax]/3 + 1}], {x, 0, nmax}], x] (* tuned for efficiency by Vaclav Kotesovec, Mar 10 2026 *)
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Dec 04 2016
STATUS
approved