login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A190570 Number of n-step one-sided prudent walks, avoiding exactly two consecutive west steps and two consecutive east steps. 0
1, 3, 5, 13, 27, 63, 137, 309, 683, 1527, 3393, 7565, 16835, 37503, 83497, 185957, 414075, 922119, 2053393, 4572669, 10182643, 22675407, 50494905, 112445269, 250399915, 557606103, 1241711393, 2765119597, 6157538211, 13711985439 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
S. Gao and H. Niederhausen, Sequences Arising From Prudent Self-Avoiding Walks, 2010.
FORMULA
G.f.: x*(1+x-2*x^2+2*x^3)/(1-2*x-x^2+2*x^3-2*x^4).
PROG
(PARI) my(x='x+O('x^35)); Vec(x*(1+x-2*x^2+2*x^3)/(1-2*x-x^2+2*x^3-2*x^4)) \\ Michel Marcus, Jun 28 2021
CROSSREFS
Sequence in context: A084173 A354951 A223645 * A337860 A000631 A026569
KEYWORD
nonn,walk
AUTHOR
Shanzhen Gao, May 12 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)