|
|
A065410
|
|
Number of labeled, rooted, binary trees with internal nodes labeled from {1, ...,n} and leaves labeled from {0,1} such that for any path from the root to a leaf, the internal nodes receive distinct labels. In other words, the number of decision trees on n Boolean variables.
|
|
0
|
|
|
2, 6, 74, 16430, 1079779602, 5829619944476392022, 203906812182221592008725937367751490906, 291045916380210542889328709144540300448800843154329245652913718353100604905854
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
A rooted tree is binary if each internal node has two children, a left child and a right child.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n*(a(n-1))^2 + 2.
|
|
MATHEMATICA
|
a[0] = 2; a[n_] := n*a[n - 1]^2 + 2; Table[ a[n], {n, 0, 8} ]
RecurrenceTable[{a[0]==2, a[n]==n*a[n-1]^2+2}, a, {n, 7}] (* Harvey P. Dale, Dec 18 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nice,nonn
|
|
AUTHOR
|
Clifford Smyth (csmyth(AT)ias.edu), Nov 14 2001
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|