|
| |
|
|
A023426
|
|
Generalized Catalan Numbers.
|
|
0
| |
|
|
1, 1, 1, 1, 2, 4, 7, 11, 18, 32, 59, 107, 191, 343, 627, 1159, 2146, 3972, 7373, 13757, 25781, 48437, 91165, 171945, 325096, 616066, 1169667, 2224355, 4236728, 8082374, 15441719
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,5
|
|
|
COMMENTS
| Number of lattice paths from (0,0) to (n,0) that stay weakly in the first quadrant and such that each step is either U=(2,1),D=(2,-1), or H=(1,0). E.g. a(5)=4 because we have HHHHH, HUD, UDH and UHD. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 23 2003
Hankel transform is A132380(n+3). [From Paul Barry (pbarry(AT)wit.ie), May 22 2009]
|
|
|
FORMULA
| G.f.=[1-z-sqrt((1-z)^2-4z^4)]/[2z^4]. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 23 2003
Contribution from Paul Barry (pbarry(AT)wit.ie), May 22 2009: (Start)
G.f.: 1/(1-x-x^4/(1-x-x^4/(1-x-x^4/(1-x-x^4/(1-... (continued fraction).
G.f.: (1/(1-x))c(x^4/(1-x)^2), c(x) the g.f. of A000108.
a(n)=sum{k=0..floor(n/4), C(n-2k,2k)*A000108(k)}. (End)
|
|
|
MATHEMATICA
| Clear[ a ]; a[ 0 ]=1; a[ n_Integer ] := a[ n ]=a[ n-1 ]+Sum[ a[ k ]*a[ n-4-k ], {k, 0, n-4} ];
|
|
|
CROSSREFS
| Cf. A000108, A001006, A004148, A006318.
Sequence in context: A004696 A018063 A000570 * A157134 A127926 A078513
Adjacent sequences: A023423 A023424 A023425 * A023427 A023428 A023429
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Olivier Gerard (olivier.gerard(AT)gmail.com)
|
| |
|
|