OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..100
FORMULA
a(n) = A055314(2*n, n) = Stirling2(2*n-2, n)*(2*n)!/n!. - Andrew Howroyd, Dec 30 2022
EXAMPLE
The a(2) = 12 trees:
{{1,2},{1,3},{2,4}}
{{1,2},{1,3},{3,4}}
{{1,2},{1,4},{2,3}}
{{1,2},{1,4},{3,4}}
{{1,2},{2,3},{3,4}}
{{1,2},{2,4},{3,4}}
{{1,3},{1,4},{2,3}}
{{1,3},{1,4},{2,4}}
{{1,3},{2,3},{2,4}}
{{1,3},{2,4},{3,4}}
{{1,4},{2,3},{2,4}}
{{1,4},{2,3},{3,4}}
MATHEMATICA
a[n_]:=StirlingS2[2*n-2, n]*(2*n)!/n!; Array[a, 14] (* Stefano Spezia, Aug 02 2024 *)
PROG
(PARI) a(n) = stirling(2*n-2, n, 2)*(2*n)!/n! \\ Andrew Howroyd, Dec 30 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 01 2022
EXTENSIONS
Terms a(6) and beyond from Andrew Howroyd, Dec 30 2022
STATUS
approved