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!)
A212589 Walks with n steps on the x-axis using steps {1,0,-1} and visiting no point more than twice. 5
1, 3, 8, 18, 34, 64, 118, 214, 382, 678, 1198, 2112, 3716, 6532, 11474, 20148, 35370, 62084, 108964, 191234, 335608, 588968, 1033584, 1813832, 3183072, 5585922, 9802630, 17202438, 30188196, 52976614, 92967500, 163146614, 286302374, 502425668, 881695610, 1547267962 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Note: a 0 step counts as a visit and a step but does not contribute to the length of the walk.
LINKS
FORMULA
G.f. -((1+x^2+x^3-3*x^4+2*x^5+x^6-x^7)/((-1+x)^2 * (-1+x+x^2+x^4))).
MATHEMATICA
CoefficientList[Series[ -((1+x^2+x^3-3*x^4+2*x^5+x^6-x^7)/((-1+x)^2 * (-1+x+x^2+x^4))) , {x, 0, 45}], x]
CROSSREFS
Sequence in context: A075342 A083726 A319006 * A367188 A081489 A055278
KEYWORD
nonn,walk
AUTHOR
David Scambler, May 22 2012
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)