OFFSET
1,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,2,0,-1,0,0,0,1).
FORMULA
a(n) = 2*a(n-2) -a(n-4) +a(n-8). G.f.: -x*(1+x)*(x^3-x^2+1) / ( (x^4-x^2+1)*(x^4+x^2-1) ). - R. J. Mathar, Jan 27 2011
MATHEMATICA
LinearRecurrence[{0, 2, 0, -1, 0, 0, 0, 1}, {1, 1, 1, 2, 2, 3, 3, 4}, 60] (* Harvey P. Dale, Sep 09 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Mar 23 2010
STATUS
approved