Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A128720
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A128720 Number of paths in the first quadrant from (0,0) to (n,0) using steps U=(1,1), D=(1,-1), h=(1,0) and H(2,0). +0
12
1, 1, 3, 6, 16, 40, 109, 297, 836, 2377, 6869, 20042, 59071, 175453, 524881, 1579752, 4780656, 14536878, 44394980, 136107872, 418757483, 1292505121, 4001039563, 12418772656, 38641790001, 120510911885, 376628460529, 1179376013552 (list; graph; listen)
OFFSET

0,3

COMMENT

Points of two kinds are placed on a line: light points having weight 1 and heavy points having weight 2. Number of configurations of points of total weight n, with some of the light points being paired off by nonintersecting arcs.

Number of skew Dyck paths of semilength n having no UUU's. A skew Dyck path is a path in the first quadrant which begins at the origin, ends on the x-axis, consists of steps U=(1,1)(up), D=(1,-1)(down) and L=(-1,-1)(left) so that up and left steps do not overlap. The length of a path is defined to be the number of its steps. Example: a(3)=6 because we have UDUDUD, UDUUDD, UDUUDL, UUDDUD, UUDUDD and UUDUDL. a(n)=A128719(n,0). a(n)=A059397(n,n). a(n)=A132276(n,0).

REFERENCES

E. Deutsch, E. Munarini and S. Rinaldi, Skew Dyck paths (in preparation).

W. F. Klostermeyer, M. E. Mays, L. Soltes and G. Trapp, A Pascal rhombus, Fibonacci Quarterly, 35 (1997), 318-328.

FORMULA

a(n)=Sum(binom(n-j, j)*m(n-2j), j=0..floor(n/2)), where m(k)=A001006(k) are the Motzkin numbers. G.f.=G satisfies z^2*G^2-(1-z-z^2)G+1=0. G.f.=c(z^2/(1-z-z^2)^2)/(1-z-z^2), where c(z)=[1-sqrt(1-4z)]/(2z) is the Catalan function. Rec. rel.: a(n)=a(n-1)+a(n-2)+Sum(a(j)a(n-2-j), j=0..n-2); a(0)=a(1)=1.

EXAMPLE

a(3)=6 because we have hhh, hH, Hh, hUD, UhD and UDh.

MAPLE

a[0]:=1: a[1]:=1: for n from 2 to 30 do a[n]:=a[n-1]+a[n-2]+add(a[j]*a[n-2-j], j=0..n-2) end do: seq(a[n], n=0..30); G:=((1-z-z^2-sqrt((1+z-z^2)*(1-3*z-z^2)))*1/2)/z^2: Gser:=series(G, z=0, 33): seq(coeff(Gser, z, n), n=0..30);

CROSSREFS

Cf. A001006, A128719, A059397, A132276.

Sequence in context: A046211 A018022 A166536 this_sequence A096745 A027088 A027102

Adjacent sequences: A128717 A128718 A128719 this_sequence A128721 A128722 A128723

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 30 2007, revised Sep 03 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research