|
|
A129137
|
|
Number of trees on [n], rooted at 1, in which 2 is a descendant of 3.
|
|
4
|
|
|
0, 0, 1, 5, 37, 366, 4553, 68408, 1206405, 24447440, 560041201, 14315792256, 404057805989, 12482986261760, 419042630871225, 15189786100468736, 591374264243364037, 24612549706061862912, 1090556290466098198625
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
LINKS
|
|
|
FORMULA
|
The following formula counts these trees by the length r of the path from 1 to 3: Sum_{r=1..n-2} (n-3)!*n^(n-2-r)/(n-2-r)!.
|
|
EXAMPLE
|
a(4)=5 counts {1->3->2, 1->4}, {1->3->2, 3->4}, {1->3->2->4}, {1->3->4->2}, {1->4->3->2}.
|
|
MATHEMATICA
|
|
|
CROSSREFS
|
Cf. A057500 = binomial(n-1, 2)*a(n).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|