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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034928 Triangle of ballot numbers. 0
1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 3, 4, 4, 1, 1, 4, 6, 9, 9, 1, 1, 5, 8, 15, 21, 21, 1, 1, 6, 10, 22, 36, 51, 51, 1, 1, 7, 12, 30, 54, 91, 127, 127, 1, 1, 8, 14, 39, 75, 142, 232, 323, 323, 1, 1, 9, 16, 49, 99, 205, 370, 603, 835, 835, 1, 1, 10, 18, 60, 126, 281, 545 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,8

REFERENCES

M. Aigner, Motzkin Numbers, Europ. J. Comb. 19 (1998), 663-675.

FORMULA

a(0, 0)=a(0, 1)=1, a(n, n+1)=a(n, n), a(n, k)=a(n-1, 0)+...+a(n-1, k-2)+a(n-1, k) (n >= 1, 0<=k<=n).

Or, from David W. Wilson: a(n, 0) = 1; a(n, 1) = 1; a(n, 2) = n; a(n, k) = 0 if k > n+1; a(n, k) = a(n-1, k) + a(n, k-1) + a(n-1, k-2) - a(n-1, k-1), otherwise.

EXAMPLE

1 1; 1 1 1; 1 1 2 2; 1 1 3 4 4;...

CROSSREFS

Sequence in context: A146565 A115594 A086623 * A161671 A144444 A054106

Adjacent sequences:  A034925 A034926 A034927 * A034929 A034930 A034931

KEYWORD

nonn,tabl,easy

AUTHOR

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

EXTENSIONS

More terms from David W. Wilson (davidwwilson(AT)comcast.net).

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 16 03:44 EST 2012. Contains 205860 sequences.