OFFSET
0,3
COMMENTS
Previous name was: A simple grammar.
Number of rooted trees with 4-colored non-root nodes. (Christian G. Bower, Sep 07 2002)
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..950
Chaim Even-Zohar, Calvin Leng, Counting Small Permutation Patterns, arXiv:1911.01414 [cs.DS], 2019.
L. Foissy, Algebraic structures on typed decorated rooted trees, arXiv:1811.07572 (2018)
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 720
FORMULA
a(n) ~ c * d^n / n^(3/2), where d = 11.0699628777593263124193026233177403862890348..., c = 0.1016234204063820357399566577477318256736416... . - Vaclav Kotesovec, Aug 26 2014
G.f. A(x) satisfies: A(x) = x*exp(4*Sum_{k>=1} A(x^k)/k). - Ilya Gutkovskiy, Mar 19 2018
MAPLE
spec := [S, {B=Set(S), S=Prod(Z, B, B, B, B)}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..20);
with(numtheory):
a:= proc(n) option remember; `if`(n<2, n, (add(add(d*
a(d), d=divisors(j))*a(n-j)*4, j=1..n-1))/(n-1))
end:
seq(a(n), n=0..25); # Vaclav Kotesovec, Aug 26 2014 after Alois P. Heinz
MATHEMATICA
a[n_] := a[n] = If[n<2, n, Sum[Sum[d*a[d], {d, Divisors[j]}]*a[n-j]*4, {j, 1, n-1}]/(n-1)]; Table[a[n], {n, 0, 25}] (* Jean-François Alcover, Feb 24 2016, adapted from Maple *)
CROSSREFS
KEYWORD
easy,nonn,eigen
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
EXTENSIONS
New name from Vaclav Kotesovec, Aug 26 2014
STATUS
approved