cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A129137 Number of trees on [n], rooted at 1, in which 2 is a descendant of 3.

Original entry on oeis.org

0, 0, 1, 5, 37, 366, 4553, 68408, 1206405, 24447440, 560041201, 14315792256, 404057805989, 12482986261760, 419042630871225, 15189786100468736, 591374264243364037, 24612549706061862912, 1090556290466098198625
Offset: 1

Views

Author

David Callan, Mar 30 2007

Keywords

Examples

			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}.
		

Crossrefs

Cf. A057500 = binomial(n-1, 2)*a(n).

Programs

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)!.