OFFSET
1,5
COMMENTS
Used in the enumeration of prudent self-avoiding walks.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
S. Gao, H. Niederhausen, Sequences Arising From Prudent Self-Avoiding Walks, (submitted to INTEGERS: The Electronic Journal of Combinatorial Number Theory).
MATHEMATICA
m = 36; A[_] = 0;
Do[A[x_] = (x + A[x]^2*x^2 + A[x]^3*x^3 + A[x]^2*(-1 + A[x]^2)*x^4 - A[x]^3*x^5)/(1 - x + x^3) + O[x]^m, {m}];
CoefficientList[A[x]/x, x] (* Jean-François Alcover, Oct 03 2019 *)
PROG
(PARI) /* verification */
V177794=[1, 1, 1, 1, 2, 4, 8, 16, 33, 69, 145];
A=x*Ser(V177794); /* = x + x^2 + x^3 + x^4 + 2*x^5 + 4*x^6 + 8*x^7 + ... */
-x+(1+x^3-x)*A+(x^4-x^2)*A^2+(x^5-x^3)*A^3-x^4*A^4 /* = O(x^12) = "zero" */
/* Joerg Arndt, May 14 2011 */
CROSSREFS
KEYWORD
nonn
AUTHOR
This sequence was derived by Dr. Aaron Meyerowitz and submitted by Shanzhen Gao, May 13 2010
STATUS
approved