OFFSET
0,2
LINKS
S. Gao and H. Niederhausen, Sequences Arising From Prudent Self-Avoiding Walks, 2010.
Index entries for linear recurrences with constant coefficients, signature (2,0,1).
FORMULA
a(n) = A052980(n+1). - R. J. Mathar, May 16 2011
G.f.: (1+x^2)/(1-2*x-x^3).
EXAMPLE
a(2)=5 since there are 5 such walks: WW, NN, EN, NE, EE.
PROG
(PARI) my(x='x+O('x^35)); Vec((1+x^2)/(1-2*x-x^3)) \\ Michel Marcus, Jun 28 2021
CROSSREFS
KEYWORD
nonn,walk
AUTHOR
Shanzhen Gao, May 11 2011
STATUS
approved