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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059398 Row sums of triangle in A059397. 3
1, 2, 6, 17, 51, 154, 473, 1464, 4568, 14332, 45187, 143024, 454217, 1446604, 4618576, 14777451, 47371177, 152110326, 489165277, 1575211177, 5078690936, 16392526502, 52963765321, 171282782902, 554393341371, 1795821017014 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Number of paths in the first quadrant from (0,0) to the line x=n, consisting of steps U=(1,1), D=(1,-1), h=(1,0) and H=(2,0) (in other words, left factors of the paths in A128720). Example: a(2)=6 because we have hh, H, UD, hU, Uh and UU. Row sums of triangle in A132276. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Sep 03 2007

Row sums of the Riordan matrix (g(x),x*g(x)), where g(x) = (1-x-x^2-sqrt(1-2*x-5*x^2+2*x^3+x^4))/(2*x^2) (A132276). [Emanuele Munarini, May 5 2011]

REFERENCES

W. Klostermeyer et al., A Pascal rhombus, Fibonacci Quarterly, 35 (1976), 318-328.

FORMULA

G.f.: (sqrt((1+x-x^2)/(1-3*x-x^2))-1)/x/2. - Vladeta Jovovic (vladeta(AT)eunet.rs), Jan 20 2004

a(n) = (1/2)*sum(binomial(2*k,k)*(-1)^(n-k+1)*sum(binomial(i+k-1,i)*binomial(i,n-k-i+1),i=0..n-k+1),k=0..n+1). [Emanuele Munarini, May 5 2011]

MAPLE

g:=(1/2)*(sqrt((1+x-x^2)/(1-3*x-x^2))-1)/x: gser:=series(g, x=0, 30): seq(coeff(gser, x, n), n=0..25); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Sep 03 2007

MATHEMATICA

Table[Sum[Binomial[2k, k](-1)^(n-k+1)Sum[Binomial[i+k-1, i]Binomial[i, n-k-i+1], {i, 0, n-k+1}], {k, 0, n+1}]/2, {n, 0, 28}] [Emanuele Munarini, May 5 2011]

PROG

(Maxima) makelist(sum(binomial(2*k, k)*(-1)^(n-k+1)*sum(binomial(i+k-1, i)*binomial(i, n-k-i+1), i, 0, n-k+1), k, 0, n+1)/2, n, 0, 28); [Emanuele Munarini, May 5 2011]

CROSSREFS

Cf. A128720, A132276.

Sequence in context: A148449 A148450 A153773 * A157002 A071717 A181665

Adjacent sequences:  A059395 A059396 A059397 * A059399 A059400 A059401

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Jan 29 2001

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Jan 31 2001

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 17 19:05 EST 2012. Contains 206082 sequences.