OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,2,-2)
FORMULA
G.f.: G(0)/(2*(1-x^2)*(1-x)), where G(k)= 1 + 1/(1 - x*(k+1)/(x*(k+2) - 1/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, May 25 2013
MATHEMATICA
LinearRecurrence[{0, 1, 2, -2}, {1, 0, 1, 2}, 60] (* Harvey P. Dale, Oct 09 2020 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved