OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
G.f.: Sum_{j>=1} q^j * Product_{k=j..3*j} (1+q^k).
EXAMPLE
a(8) = 5 counts these partitions: 8, 62, 53, 44, 422.
MATHEMATICA
nmax=100; gf=0; Do[p=1; Do[p=Series[p*(1+q^k), {q, 0, nmax}]//Normal; , {k, j, 3 j}]; gf=Series[gf+q^j*p, {q, 0, nmax}]//Normal; , {j, 1, nmax}]; Rest[CoefficientList[gf, q]] (* Vincenzo Librandi, Mar 14 2026 *)
PROG
(Magma) nmax := 100; R<q> := PowerSeriesRing(Integers(), nmax+5); gf := R!0; for j in [1..nmax] do p := R!1; for k in [j..3*j] do p *:= (1 + q^k); end for; gf +:= q^j * p; end for; coeff := [Coefficient(gf, n) : n in [1..nmax]]; coeff; // Vincenzo Librandi, Mar 14 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 10 2026
STATUS
approved
