OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-4,0,-1).
FORMULA
Imaginary parts of upper left and lower right terms of matrix [1,(1+I); 1,1]^n; I^2 = -1.
a(n) = 4*a(n-1)-4*a(n-2)-a(n-4). G.f.: -x^2*(x-1) / (x^4+4*x^2-4*x+1). [Colin Barker, Dec 18 2012]
EXAMPLE
a(6) = 47 since the sixth power of the matrix generator = [(14,47); (-6,58); (26,32); (14,47)]; where (14,47) = (14 + 47*I).
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Gary W. Adamson, Mar 30 2008
STATUS
approved