A052797
Number of rooted identity trees with n nodes and 5-colored non-root nodes.
Original entry on oeis.org
0, 1, 5, 35, 310, 2980, 30526, 325655, 3581200, 40301850, 461925625, 5373527605, 63281397830, 752962948360, 9038406399150, 109321688626100, 1331047556550240, 16300720361555725, 200658900798443135, 2481460407963908510, 30814094488256704650, 384069865485447909905
Offset: 0
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
-
spec := [S,{B=PowerSet(S),S=Prod(Z,B,B,B,B,B)},unlabeled]: seq(combstruct[count](spec,size=n), n=0..20);
# second Maple program:
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
add(binomial(5*a(i), j)*b(n-i*j, i-1), j=0..n/i)))
end:
a:= n-> `if`(n=1, 1, b((n-1)$2)):
seq(a(n), n=0..25); # Alois P. Heinz, Feb 24 2015
-
b[n_, i_] := b[n, i] = If[n==0, 1, If[i<1, 0, Sum[Binomial[5*a[i], j]*b[n - i*j, i-1], {j, 0, n/i}]]]; a[n_] := If[n==1, 1, b[n-1, n-1]]; Table[a[n], {n, 0, 25}] (* Jean-François Alcover, Feb 24 2016, after Alois P. Heinz *)
A255518
Number of rooted identity trees with n nodes and 6-colored non-root nodes.
Original entry on oeis.org
0, 1, 6, 51, 542, 6273, 77262, 991264, 13109394, 177428496, 2445799878, 34218909015, 484668543660, 6935979521095, 100136840127534, 1456726481340477, 21332234689262126, 314211310198197978, 4652073871301311128, 69194159284034697860, 1033441834436615884266
Offset: 0
-
with(numtheory):
a:= proc(n) option remember; `if`(n<2, n, -add(a(n-j)*add(
6*a(d)*d*(-1)^(j/d), d=divisors(j)), j=1..n-1)/(n-1))
end:
seq(a(n), n=0..30);
A255519
Number of rooted identity trees with n nodes and 7-colored non-root nodes.
Original entry on oeis.org
0, 1, 7, 70, 868, 11746, 169022, 2533895, 39156244, 619261762, 9974917309, 163078496420, 2699109217420, 45136794135853, 761492594770649, 12944937176754422, 221518183089901621, 3812823547509811611, 65966582592220602621, 1146568019260356348978
Offset: 0
-
with(numtheory):
a:= proc(n) option remember; `if`(n<2, n, -add(a(n-j)*add(
7*a(d)*d*(-1)^(j/d), d=divisors(j)), j=1..n-1)/(n-1))
end:
seq(a(n), n=0..30);
A255520
Number of rooted identity trees with n nodes and 8-colored non-root nodes.
Original entry on oeis.org
0, 1, 8, 92, 1304, 20198, 332520, 5703724, 100847976, 1824927697, 33634879304, 629201396744, 11915930584384, 228010216559592, 4401559021963488, 85616787777724400, 1676436841812675760, 33017479163392717192, 653643628799220208104, 12999812350464606307796
Offset: 0
-
with(numtheory):
a:= proc(n) option remember; `if`(n<2, n, -add(a(n-j)*add(
8*a(d)*d*(-1)^(j/d), d=divisors(j)), j=1..n-1)/(n-1))
end:
seq(a(n), n=0..30);
A255521
Number of rooted identity trees with n nodes and 9-colored non-root nodes.
Original entry on oeis.org
0, 1, 9, 117, 1866, 32553, 603414, 11654634, 232034283, 4728048201, 98125181461, 2066983603704, 44079196497075, 949772378078829, 20645820782745363, 452215682045713701, 9970925646977589555, 221133330528834114000, 4929622717525248345174, 110400838255998014848137
Offset: 0
-
with(numtheory):
a:= proc(n) option remember; `if`(n<2, n, -add(a(n-j)*add(
9*a(d)*d*(-1)^(j/d), d=divisors(j)), j=1..n-1)/(n-1))
end:
seq(a(n), n=0..30);
A255522
Number of rooted identity trees with n nodes and 10-colored non-root nodes.
Original entry on oeis.org
0, 1, 10, 145, 2570, 49860, 1027602, 22068705, 488541820, 11068982545, 255437694060, 5983042467096, 141873247900650, 3399140192819340, 82160878859739650, 2001070766525744725, 49061025740711233080, 1209873601374566796515, 29990547373994063764080
Offset: 0
-
with(numtheory):
a:= proc(n) option remember; `if`(n<2, n, -add(a(n-j)*add(
10*a(d)*d*(-1)^(j/d), d=divisors(j)), j=1..n-1)/(n-1))
end:
seq(a(n), n=0..30);
Comments