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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033303 Expansion of (1+x)/(1-2*x-x^2+x^3). 3
1, 3, 7, 16, 36, 81, 182, 409, 919, 2065, 4640, 10426, 23427, 52640, 118281, 265775, 597191, 1341876, 3015168, 6775021, 15223334, 34206521, 76861355, 172705897, 388066628, 871977798, 1959316327 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Also the number of the one-sided n-step prudent walks, avoiding 3 or more consecutive east steps. - Shanzhen Gao, April 27 2011

First differences are in A052534.

REFERENCES

S. Gao, H. Niederhausen, Sequences Arising From Prudent Self-Avoiding Walks (submitted to INTEGERS: The Electronic Journal of Combinatorial Number Theory).

R. P. Stanley, Enumerative Combinatorics I, p. 244.

FORMULA

a(0)=1, a(1)=h(n), and a(n)=h(n)+h(n-1) for n>=2, where h(n) = sum(k=1..n, sum(j=0..k, binomial(k,j) * binomial(j,n-3*k+2*j) * 2^(3*k-n-j) * (-1)^(k-j))). [From Kruchinin Vladimir (kru(AT)ie.tusur.ru), Sep 09 2010]

PROG

(Maxima) h(n):=sum(sum(binomial(k, j)*binomial(j, n-3*k+2*j)*2^(3*k-n-j)*(-1)^(k-j), j, 0, k), k, 1, n); a(n):=if n=0 then 1 else if n=2 then h(n) else h(n)+h(n-1); [From Kruchinin Vladimir (kru(AT)ie.tusur.ru), Sep 09 2010]

CROSSREFS

Sequence in context: A019489 A077852 A020746 * A078056 A173761 A124671

Adjacent sequences:  A033300 A033301 A033302 * A033304 A033305 A033306

KEYWORD

nonn,nice,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 09:15 EST 2012. Contains 205753 sequences.