OFFSET
0,8
COMMENTS
Difference between the number of partitions of n+2 into 2 parts and the number of partitions of n+2 into 3 parts. - Wesley Ivan Hurt, Apr 16 2019
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
P. A. MacMahon, Perpetual reciprocants, Proc. London Math. Soc., 17 (1886), 139-151; Coll. Papers II, pp. 584-596.
Index entries for linear recurrences with constant coefficients, signature (1,1,0,-1,-1,1).
FORMULA
From Colin Barker, Apr 17 2019: (Start)
G.f.: (1 - x - x^3) / ((1 - x)^3*(1 + x)*(1 + x + x^2)).
a(n) = a(n-1) + a(n-2) - a(n-4) - a(n-5) + a(n-6) for n>5.
(End)
PROG
(PARI) Vec((1 - x - x^3) / ((1 - x)^3*(1 + x)*(1 + x + x^2)) + O(x^40)) \\ Colin Barker, Apr 17 2019
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Mar 17 2001
STATUS
approved