OFFSET
0,2
LINKS
Lauren K. Williams, Enumerating up-side self-avoiding walks on integer lattices, Electr. J. Combin. 3, 1996, #R31.
Index entries for linear recurrences with constant coefficients, signature (2,-1,1,1)
FORMULA
G.f.: (1 + z + z^3)/(1 - 2z + z^2 - z^3 - z^4).
EXAMPLE
a(2)=5 because we have UU, UL, UR, LU, and RU, where U, L, and R denote up, left, and right steps, respectively.
MAPLE
g := (1+z+z^3)/(1-2*z+z^2-z^3-z^4): gser := series(g, z = 0, 43): seq(coeff(gser, z, n), n = 0 .. 35);
CROSSREFS
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Mar 31 2010
EXTENSIONS
Definition corrected by Emeric Deutsch, Apr 01 2010
STATUS
approved