OFFSET
0,4
REFERENCES
Sloane, N. J. A. and Plouffe, S. The Encyclopedia of Integer Sequences. San Diego, CA: Academic Press, 1995.
LINKS
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to arXiv version]
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to Lin. Alg. Applic. version together with omitted figures]
Index entries for linear recurrences with constant coefficients, signature (2,0,-2).
FORMULA
a(n)=2*a(n-1)-2*a(n-3), a(0)=0, a(1)=-1, a(2)=-1. Generating function A(x)=x*(x-1)/(1-2x+2x^3).
MATHEMATICA
h[n_] := h[n]=2*h[n-1]-2*h[n-3]; h[0]=0; h[1]=-1; h[2]=-1
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Mario Catalani (mario.catalani(AT)unito.it), Jul 30 2002
STATUS
approved