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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034261 Triangular array T(n,k) in which n-th row is {f(k,n-k), 0<=k<=n} where f(a,b)=C(a+b,b+1)*(a*b+a+1)/(b+2). Equivalently, square array f(a,b), a>=0, 0<=b<=a, read by antidiagonals. 26
0, 0, 1, 0, 1, 3, 0, 1, 5, 6, 0, 1, 7, 14, 10, 0, 1, 9, 25, 30, 15, 0, 1, 11, 39, 65, 55, 21, 0, 1, 13, 56, 119, 140, 91, 28, 0, 1, 15, 76, 196, 294, 266, 140, 36, 0, 1, 17, 99, 300, 546, 630, 462, 204, 45, 0, 1, 19, 125, 435, 930, 1302, 1218 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,6

COMMENTS

f(h,k)=number of paths consisting of steps from (0,0) to (h,k) using h unit steps right, k+1 unit steps up and 1 unit step down, in some order, with first step not down and no repeated points.

FORMULA

Another formula: f(h, k)=C(h+k, k+1)+Sum{C(i+j-1, j)*C(h+k-i-j, k-j+1): i=1, 2, ..., h-1, j=1, 2, ..., k+1}

EXAMPLE

0; 0,1; 0,1,3; 0,1,5,6; 0,1,7,14,10; ...

MAPLE

A034261 := proc(n, k); binomial(n+k, k+1)*(k*n+n+1)/(k+2); end;

PROG

(PARI) f(h, k)=if(h<0|k<0, 0, binomial(h+k, k+1)*(k*h+h+1)/(k+2))

CROSSREFS

f(n, 1)=A000330(n) (square pyramidal numbers).

Sequence in context: A123880 A186363 A143626 * A046778 A119925 A102765

Adjacent sequences:  A034258 A034259 A034260 * A034262 A034263 A034264

KEYWORD

nonn,tabl,easy,nice

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

EXTENSIONS

Entry revised by N. J. A. Sloane (njas(AT)research.att.com), Apr 21 2000. The formula for f in the definition was found by Michael Somos.

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 07:35 EST 2012. Contains 205876 sequences.