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,0,-1,2,1).
FORMULA
G.f.: (1+z)(1 - z + z^2 + z^3)/(1 - 2z + z^3 - 2z^4 - z^5).
EXAMPLE
a(3)=9 because we have UUU, UUR, URU, URR, RUU, RUR, RRU, RRR, and RUL, where U, L, and R denote up, left, and right steps, respectively.
MAPLE
g := (1+z)*(1-z+z^2+z^3)/(1-2*z+z^3-2*z^4-z^5): gser := series(g, z = 0, 43): seq(coeff(gser, z, n), n = 0 .. 30);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, Mar 31 2010
STATUS
approved