|
|
A306292
|
|
Number of asymmetric Dyck paths of semilength n.
|
|
0
|
|
|
0, 0, 2, 8, 32, 112, 394, 1360, 4736, 16544, 58324, 207088, 741184, 2671008, 9688410, 35344800, 129620480, 477590080, 1767170812, 6563935664, 24465914304, 91481858208, 343058261572, 1289901443168
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
An asymmetric Dyck path is a path that generates a distinct Dyck path when traversed in opposite order.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (2n)! / (n! (n+1))! - n! / ( (floor(n/2))! (ceiling(n/2))! ).
|
|
EXAMPLE
|
For n=3, the a(2)=2 asymmetric Dyck paths are UUDDUD and UDUUDD.
|
|
MATHEMATICA
|
Table[Binomial[2 n, n]/(n + 1) - Binomial[n, Floor[n/2]], {n, 0, 30}]
|
|
PROG
|
(PARI) a(n) = binomial(2*n, n)/(n+1) - binomial(n, n\2); \\ Michel Marcus, Jan 22 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|