OFFSET
1,3
COMMENTS
An ancestral configuration is a set of gene lineages present immediately before a node of a species tree is reached, looking backward in time, and a root ancestral configuration is an ancestral configuration at the root node. The term a(n) gives the largest number of root ancestral configurations among pairs (G,S) where G is a labeled gene tree topology, S is a bijectively labeled species tree topology, G and S have n leaves, and G=S.
LINKS
F. Disanto and N. A. Rosenberg, Enumeration of ancestral configurations for matching gene trees and species trees, J. Comput. Biol. 24 (2017), 831-850.
FORMULA
MAPLE
a:= proc(n) option remember; `if`(n=1, 0, (g-> (f->
(1+a(f))*(1+a(n-f)))(min(g, n-g/2)))(2^ilog2(n)))
end:
seq(a(n), n=1..42); # Alois P. Heinz, Jun 19 2022
MATHEMATICA
b[n_] := b[n] = If[n == 1, 1, 1+Max[Table[b[i] b[n-i], {i, n-1}]]];
a[n_] := b[n]-1;
Array[a, 42] (* Jean-François Alcover, Jun 25 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Noah A Rosenberg, Jun 19 2022
STATUS
approved