A238210 The total number of 3's in all partitions of n into an odd number of distinct parts.
0, 0, 0, 1, 0, 0, 1, 0, 1, 2, 2, 2, 3, 3, 4, 5, 6, 7, 8, 10, 12, 14, 17, 20, 23, 28, 32, 37, 44, 51, 58, 68, 78, 89, 103, 118, 134, 154, 175, 199, 227, 257, 291, 330, 373, 421, 475, 535, 602, 677, 760, 852, 955, 1069, 1196, 1336, 1491, 1663, 1853, 2063, 2296
Offset: 0
Keywords
Examples
a(12) = 3 because the partitions in question are: 8+3+1, 7+3+2, 5+4+3.
Links
- Andrew Howroyd, Table of n, a(n) for n = 0..1000
Programs
-
Mathematica
nmax = 100; With[{k=3}, CoefficientList[Series[x^k/(1+x^k)/2 * Product[1 + x^j, {j, 1, nmax}] + x^k/(1-x^k)/2 * Product[1 - x^j, {j, 1, nmax}], {x, 0, nmax}], x]] (* Vaclav Kotesovec, Jul 05 2025 *)
-
PARI
seq(n)={my(A=O(x^(n-2))); Vec(x^3*(eta(x^2 + A)/(eta(x + A)*(1+x^3)) + eta(x + A)/(1-x^3))/2, -(n+1))} \\ Andrew Howroyd, May 01 2020
Formula
G.f.: (1/2)*(x^3/(1+x^3))*(Product_{n>=1} 1 + x^n) + (1/2)*(x^3/(1-x^3))*(Product_{n>=1} 1 - x^n).
a(n) ~ exp(Pi*sqrt(n/3)) / (16 * 3^(1/4) * n^(3/4)). - Vaclav Kotesovec, Jul 05 2025
Extensions
Terms a(51) and beyond from Andrew Howroyd, May 01 2020
Comments