A348066 Matula-Goebel tree number of tree n with all duplicate sibling subtrees reduced to one copy of each.
1, 2, 3, 2, 5, 6, 3, 2, 3, 10, 11, 6, 13, 6, 15, 2, 5, 6, 3, 10, 3, 22, 5, 6, 5, 26, 3, 6, 29, 30, 31, 2, 33, 10, 15, 6, 13, 6, 39, 10, 41, 6, 13, 22, 15, 10, 47, 6, 3, 10, 15, 26, 3, 6, 55, 6, 3, 58, 11, 30, 13, 62, 3, 2, 65, 66, 5, 10, 15, 30, 29, 6, 5, 26
Offset: 1
Keywords
Examples
In the following tree n=42, E and F are (singleton) subtrees of B and are the same so reduce to E alone. With that change, subtrees A,D and B,E are the same, so reduce to A,D alone. tree n=42 tree a(42) = 6 R___ R root R / \ \ | \ A B C A C | |\ | D E F D
Links
Programs
-
PARI
a(n) = vecprod(Set([prime(self()(primepi(p))) | p<-factor(n)[,1]]));
Formula
a(n) = Product of distinct prime(a(primepi(p))), over p the prime factors of n.
Comments