OFFSET
0,4
COMMENTS
Number of maximal chains in the Tamari lattice T_n. For n=3 there are 2 maximal chains in the Tamari lattice T3, whose Hasse diagram is a pentagon. - F. Chapoton, Mar 15 2013
REFERENCES
D. E. Knuth, The Art of Computer Programming, Vol. 4, Section 7.2.1.6, see solution to Exercise 34.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..18
Luke Nelson, A recursion on maximal chains in the Tamari lattices, Discrete Mathematics 340.4 (2017): 661-677.
Luke Nelson, A recursion on maximal chains in the Tamari lattices, arXiv:1709.02987 [math.CO], Sep 2017
Wikipedia, Tamari lattice
MAPLE
s:= proc(n) s(n):=`if`(n=0, [], [s(n-1), []]) end:
f:= l-> l=[] or l[1]=[] and f(l[2]):
v:= proc(l) v(l):=`if`(f(l), [], [`if`(l[1]<>[],
[l[1][1], [l[1][2], l[2]]], [][]),
seq([w, l[2]], w=v(l[1])), seq([l[1], w], w=v(l[2]))])
end:
p:= proc(l) p(l):=`if`(f(l), 1, add(p(w), w=v(l))) end:
a:= n-> p(s(n)):
seq(a(n), n=0..10); # Alois P. Heinz, Mar 17 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(9)-a(14), a(15) from Alois P. Heinz, Mar 17 2013, Mar 27 2013
STATUS
approved