OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
A. M. Odlyzko, Differences of the partition function, Acta Arithmetica 49.3 (1988): 237-254.
Dennis Stanton and Doron Zeilberger, The Odlyzko conjecture and O’Hara’s unimodality proof, Proceedings of the American Mathematical Society 107.1 (1989): 39-42.
Index entries for linear recurrences with constant coefficients, signature (-3,-5,-6,-5,-3,-1)
FORMULA
Equivalent g.f.: 1 / ((1+x)^2*(1+x^2)*(1+x+x^2)). - Colin Barker, Aug 10 2016
From Ilya Gutkovskiy, Aug 10 2016: (Start)
a(n) = -3*a(n-1) - 5*a(n-2) - 6*a(n-3) - 5*a(n-4) - 3*a(n-5) - a(n-6).
a(n) = (sqrt(3)*(-1)^n*n + 3*sqrt(3)*(-1)^n - 4*sin(2*Pi n/3) - sqrt(3)*cos(Pi*n/2))/(2*sqrt(3)). (End)
MAPLE
f1:=k->(1-q)^k/mul(1-q^i, i=1..k);
f2:=k->series(f1(k), q, 75);
f3:=k->seriestolist(f2(k));
f3(4);
PROG
(PARI) Vec(1/((1+x)^2*(1+x^2)*(1+x+x^2)) + O(x^100)) \\ Colin Barker, Aug 11 2016
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Aug 09 2016
STATUS
approved