|
Search: id:A162985
|
|
|
| A162985 |
|
Number of Dyck paths with no UUU's and no DDD's of semilength n and having no UUDUDD's (U=(1,1), D=(1,-1)). |
|
+0 2
|
|
| 1, 1, 2, 3, 6, 12, 25, 53, 114, 249, 550, 1227, 2760, 6253, 14256, 32682, 75293, 174224, 404741, 943622, 2207135, 5177817, 12179904, 28722736, 67890481, 160812128, 381671061, 907529504, 2161622683, 5157014539, 12321750366, 29482362166
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
a(n)=A162984(n,0).
|
|
FORMULA
|
G.f. = G(z) satisfies G = 1 + zG + z^2*G + z^3*G(G-1).
|
|
EXAMPLE
|
a(3)=3 because we have UDUDUD, UDUUDD, and UUDDUD.
|
|
MAPLE
|
G := ((1-z-z^2+z^3-sqrt(1-2*z-z^2-z^4-2*z^5+z^6))*1/2)/z^3: Gser := series(G, z = 0, 36): seq(coeff(Gser, z, n), n = 0 .. 31);
|
|
CROSSREFS
|
A162984
Sequence in context: A116380 A004111 A032235 this_sequence A052523 A166296 A151527
Adjacent sequences: A162982 A162983 A162984 this_sequence A162986 A162987 A162988
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 11 2009
|
|
|
Search completed in 0.002 seconds
|