login
A138614
Expansion of (2*x-1)*(x^2-x-1) / ( 1-2*x^2+2*x^4 ).
0
1, -1, -1, 0, -4, 2, -6, 4, -4, 4, 4, 0, 16, -8, 24, -16, 16, -16, -16, 0, -64, 32, -96, 64, -64, 64, 64, 0, 256, -128, 384, -256, 256, -256, -256, 0, -1024, 512, -1536, 1024, -1024, 1024, 1024, 0, 4096, -2048, 6144, -4096, 4096, -4096, -4096
OFFSET
0,5
FORMULA
a(n)= -4a(n-8).
a(n) = A138231(n+1)-2*A138231(n).
a(n) = A138232(n)- A138231(n).
MATHEMATICA
LinearRecurrence[{0, 2, 0, -2}, {1, -1, -1, 0}, 60] (* Harvey P. Dale, Jul 31 2023 *)
CROSSREFS
Sequence in context: A059853 A136527 A246776 * A161912 A162339 A200697
KEYWORD
sign,easy
AUTHOR
Paul Curtz, May 14 2008
STATUS
approved