0,2

Colin Barker, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-2,2,-1).

a(n) = 2*a(n-1) - 2*a(n-2) + 2*a(n-3) - 2*a(n-4) + 2*a(n-5) - a(n-6) for n>5. - Colin Barker, May 18 2019

(PARI) Vec((1 - 3*x + x^2)*(1 - x - x^2) / ((1 - x)^2*(1 - x + x^2)*(1 + x + x^2)) + O(x^80)) \\ Colin Barker, May 18 2019

Cf. A104161, A001595.

Sequence in context: A066102 A036048 A145384 * A274921 A274821 A275720

Adjacent sequences: A117663 A117664 A117665 * A117667 A117668 A117669

easy,sign,changed

Creighton Dement, Apr 11 2006

approved