login

Revision History for A026135

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

newer changes | Showing entries 11-17
Number of (s(0),s(1),...,s(n)) such that every s(i) is a nonnegative integer, s(0) = 1, |s(1) - s(0)| = 1, |s(i) - s(i-1)| <= 1 for i >= 2. Also sum of numbers in row n+1 of the array T defined in A026120.
(history; published version)
#7 by N. J. A. Sloane at Fri Sep 29 03:00:00 EDT 2006
COMMENTS

a(n) is the total number of rows of consecutive peaks in all Motzkin (n+2)-paths. For example, with U=upstep, D=downstep, F=flatstep, the path FU(UD)FU(UDUDUD)DD(UD) contains 3 rows of peaks (in parentheses). The 9 Motzkin 4-paths are FFFF, FF(UD), F(UD)F, FUFD, (UD)FF, (UDUD), UFDF, UFFD, U(UD)D, containing a total of 5 rows of peaks and so a(2)=5. - David Callan (callan(AT)stat.wisc.edu), Aug 16 2006

FORMULA

G.f. ((x-1)^2*((1+x)/(1-3x))^(1/2) + x^2 - 1)/(2*x^2). - David Callan (callan(AT)stat.wisc.edu), Aug 16 2006

KEYWORD

nonn,new

nonn

EXTENSIONS

More terms from David Callan (callan(AT)stat.wisc.edu), Aug 16 2006

#6 by N. J. A. Sloane at Fri Feb 24 03:00:00 EST 2006
FORMULA

a(n) = Sum_{k=0..n} binomial(n-1, k-1)*binomial(k+1, floor((k+1)/2)). - Vladeta Jovovic (vladeta(AT)Eunet.yu), Sep 18 2003

KEYWORD

nonn,new

nonn

#5 by N. J. A. Sloane at Sun Feb 20 03:00:00 EST 2005
CROSSREFS

Pairwise sums of A025179.

KEYWORD

nonn,new

nonn

#4 by N. J. A. Sloane at Thu Feb 19 03:00:00 EST 2004
FORMULA

a(n) = Sum_{k=0..n} binomial(n-1,k-1)*binomial(k+1,floor((k+1)/2)). - Vladeta Jovovic (vladeta(AT)Eunet.yu), Sep 18 2003

KEYWORD

nonn,new

nonn

#3 by N. J. A. Sloane at Sat Sep 13 03:00:00 EDT 2003
CROSSREFS

First differences are in A025566, second differences in A005773.

KEYWORD

nonn,new

nonn

#2 by N. J. A. Sloane at Fri May 16 03:00:00 EDT 2003
KEYWORD

nonn,new

nonn

AUTHOR

Clark Kimberling (ck6@cedar.(AT)evansville.edu)

#1 by N. J. A. Sloane at Sat Dec 11 03:00:00 EST 1999
NAME

Number of (s(0),s(1),...,s(n)) such that every s(i) is a nonnegative integer, s(0) = 1, |s(1) - s(0)| = 1, |s(i) - s(i-1)| <= 1 for i >= 2. Also sum of numbers in row n+1 of the array T defined in A026120.

DATA

1, 2, 5, 14, 39, 110, 312, 890, 2550, 7334, 21161, 61226, 177575, 516114, 1502867, 4383462, 12804429, 37452870, 109682319, 321564658, 943701141, 2772060618, 8149661730, 23978203662, 70600640796, 208014215066, 613266903927

OFFSET

0,2

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6@cedar.evansville.edu)

STATUS

approved