login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038577 Number of self-avoiding walks of length n from origin in strip Z X {0,1}. 6
1, 3, 6, 12, 20, 36, 58, 100, 160, 268, 430, 708, 1140, 1860, 3002, 4876, 7880, 12772, 20654, 33444, 54100, 87564, 141666, 229252, 370920, 600196, 971118, 1571340, 2542460, 4113828, 6656290, 10770148, 17426440, 28196620, 45623062, 73819716, 119442780 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

For n >= 2, a(n) coincides with A110935. -Eric Rowland, Mar 09 2009

REFERENCES

J. Labelle, Self-avoiding walks and polyominoes in strips, Bull. ICA, 23 (1998), 88-98.

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

D. Zeilberger, Self avoiding walks, the language of science and Fibonacci numbers, arXiv:math/9506214 [math.CO], 1995.

Index entries for linear recurrences with constant coefficients, signature (1,3,-2,-3,1,1).

FORMULA

G.f.: (1 + 2*x - x^3 - x^4 + x^7) / ((1 - x)^2*(1 + x)^2*(1 - x - x^2)).

From Colin Barker, Nov 18 2017: (Start)

a(n) = -2 + 2*(-1)^n - (8*(1/2-sqrt(5)/2)^n)/sqrt(5) + (8*(1/2+sqrt(5)/2)^n)/sqrt(5) - (1/2)*(1+(-1)^n)*n for n > 1.

a(n) = a(n-1) + 3*a(n-2) - 2*a(n-3) - 3*a(n-4) + a(n-5) + a(n-6) for n > 5.

(End)

MAPLE

f := n->if n mod 2 = 0 then 8*fibonacci(n)-n else 8*fibonacci(n)-4; fi;

MATHEMATICA

Join[{1, 3}, LinearRecurrence[{1, 3, -2, -3, 1, 1}, {6, 12, 20, 36, 58, 100}, 40]] (* Jean-Fran├žois Alcover, Jan 08 2019 *)

PROG

(PARI) Vec((1 + 2*x - x^3 - x^4 + x^7) / ((1 - x)^2*(1 + x)^2*(1 - x - x^2)) + O(x^40)) \\ Colin Barker, Nov 18 2017

CROSSREFS

Sequence in context: A247661 A079983 A028926 * A028925 A028924 A034738

Adjacent sequences:  A038574 A038575 A038576 * A038578 A038579 A038580

KEYWORD

nonn,walk,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 15 00:30 EST 2019. Contains 329988 sequences. (Running on oeis4.)