login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Expansion of (2*x-1)*(x^2-x-1) / ( 1-2*x^2+2*x^4 ).
0

%I #12 Dec 29 2023 10:37:31

%S 1,-1,-1,0,-4,2,-6,4,-4,4,4,0,16,-8,24,-16,16,-16,-16,0,-64,32,-96,64,

%T -64,64,64,0,256,-128,384,-256,256,-256,-256,0,-1024,512,-1536,1024,

%U -1024,1024,1024,0,4096,-2048,6144,-4096,4096,-4096,-4096

%N Expansion of (2*x-1)*(x^2-x-1) / ( 1-2*x^2+2*x^4 ).

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (0,2,0,-2).

%F a(n)= -4a(n-8).

%F a(n) = A138231(n+1)-2*A138231(n).

%F a(n) = A138232(n)- A138231(n).

%t LinearRecurrence[{0,2,0,-2},{1,-1,-1,0},60] (* _Harvey P. Dale_, Jul 31 2023 *)

%K sign,easy

%O 0,5

%A _Paul Curtz_, May 14 2008