login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108521 Number of rooted trees with n generators. 11
1, 2, 5, 16, 53, 194, 730, 2868, 11526, 47370, 197786, 837467, 3585696, 15501423, 67563442, 296579626, 1309973823, 5817855174, 25964218471, 116379947718, 523699384013, 2364967753113, 10714396241046, 48684193997623 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A generator is a leaf or a node with just one child.
LINKS
N. J. A. Sloane, Transforms
Eric Weisstein's World of Mathematics, Euler Transform.
FORMULA
G.f.: satisfies (2-x)*A(x) = x - 1 + EULER(A(x)).
MATHEMATICA
a[1] = 1; a[n_] := a[n] = 1+a[n-1]+Total[Product[Binomial[a[i]-1+Count[#, i], Count[#, i]], {i, DeleteCases[DeleteDuplicates[#], 1]}]&/@ IntegerPartitions[n, {2, n-1}]]; Table[a[n], {n, 24}] (* Robert A. Russell, Jun 02 2020 *)
a[1] = 1; a[n_] := a[n] = a[n-1] + (DivisorSum[n, a[#] # &, #<n &] + Sum[c[k] b[n-k], {k, 1, n-1}])/n; b[n_] := b[n] = (c[n] + Sum[c[k] b[n-k], {k, 1, n-1}])/n; c[n_] := c[n] = DivisorSum[n, a[#] # &]; Table[a[k], {k, 24}] (* Robert A. Russell, Jun 04 2020 *)
PROG
(PARI) EulerT(v)={Vec(exp(x*Ser(dirmul(v, vector(#v, n, 1/n))))-1, -#v)}
seq(n)={my(v=[1]); for(n=2, n, v=concat(v, v[#v] + EulerT(concat(v, [0]))[n])); v} \\ Andrew Howroyd, Aug 31 2018
CROSSREFS
Cf. A000081, A000669, A007151, A108522 - A108529, A335342 (free trees).
Sequence in context: A149958 A148395 A148396 * A148397 A148398 A346518
KEYWORD
nonn
AUTHOR
Christian G. Bower, Jun 07 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:44 EDT 2024. Contains 371913 sequences. (Running on oeis4.)