|
|
A019499
|
|
Number of 5-ary search trees on n keys.
|
|
0
|
|
|
1, 1, 1, 1, 1, 5, 15, 35, 70, 146, 360, 980, 2620, 6620, 16276, 40740, 105820, 280780, 743700, 1950756, 5101470, 13429110, 35693650, 95433290, 255434106, 683340050, 1829832350, 4913953750, 13239959100, 35758234300, 96702404700, 261768987260, 709479051420
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,6
|
|
LINKS
|
|
|
MAPLE
|
A:= proc(n) option remember; if n=0 then 1 else convert(series(
add(x^i, i=0..3)+ x^4*A(n-1)^5, x=0, n+1), polynom) fi
end:
a:= n-> coeff(A(n), x, n):
|
|
MATHEMATICA
|
A[n_] := A[n] = If[n==0, 1, Series[1 + x + x^2 + x^3 + x^4*A[n-1]^5, {x, 0, n+1}] // Normal]; a[n_] := Coefficient[A[n], x, n]; Table[a[n], {n, 0, 40}] (* Jean-François Alcover, Feb 19 2016, after Alois P. Heinz *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
James Fill (jimfill(AT)jhu.edu)
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|