A337090 Number of rooted trees of n vertices in which all leaves are at odd depths (distances down from the root).
0, 0, 1, 1, 2, 3, 6, 11, 22, 43, 89, 183, 384, 812, 1738, 3742, 8125, 17735, 38941, 85898, 190328, 423320, 944933, 2115941, 4752138, 10701191, 24157460, 54658278, 123930534, 281546031, 640785749, 1460879893, 3335858947, 7628666743, 17470228499, 40060975624
Offset: 0
Keywords
Examples
For n=5 vertices, there are a(5) = 3 rooted trees in which all leaves are at odd depths * * * depth=0, root // \\ |\ | * * * * * * * depth=1, odd | | * * | |\ * * * depth=3, odd
Links
- Kevin Ryde, Table of n, a(n) for n = 0..600
Crossrefs
Cf. A337089.
Programs
-
PARI
\\ See A337089 where the vector "odds" is the present sequence.
Comments