OFFSET
0,1
COMMENTS
Also (starting 4,6,...) the number of zig-zag paths from top to bottom of a rectangle of width 7, whose color is that of the top right corner. - Joseph Myers, Dec 24 2008
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Joseph Myers, BMO 2008--2009 Round 1 Problem 1---Generalisation
Index entries for linear recurrences with constant coefficients, signature (0,4,0,-2).
FORMULA
E.g.f.: cosh(r*x) + cosh(s*x) + (r*sinh(r*x) + s*sinh(s*x))/2, where r = sqrt(2 - sqrt(2)) and s = sqrt(2 + sqrt(2)). - Stefano Spezia, Jun 14 2023
MATHEMATICA
CoefficientList[Series[(1+x-2*x^2-x^3)/(1/2-2*x^2+x^4), {x, 0, 40}], x] (* Harvey P. Dale, Oct 05 2020 *)
PROG
(PARI) Vec((1+x-2*x^2-x^3)/(1/2-2*x^2+x^4)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved