OFFSET
1,12
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..1000
FORMULA
G.f.: Sum_{m>=1} (x^(m*(3*m-1)/2)-x^(m*(3*m+1)/2))/Product_{i=1..m} (1-x^i).
EXAMPLE
a(14)=3 because we have 12+2, 7+4+3 and 6+5+3.
MAPLE
G:=sum((x^(m*(3*m-1)/2)-x^(m*(3*m+1)/2))/product(1-x^i, i=1..m), m=1..20): Gser:=series(G, x=0, 80): seq(coeff(Gser, x^n), n=1..78); # Emeric Deutsch, Mar 29 2005
PROG
(PARI) my(N=99, x='x+O('x^N)); Vec(sum(k=1, N, x^(k*(3*k-1)/2)/prod(j=1, k-1, 1-x^j))) \\ Seiichi Manyama, Jan 15 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Aug 06 2004
EXTENSIONS
More terms from Emeric Deutsch, Mar 29 2005
STATUS
approved