A325611 Number of nodes in the rooted tree with Matula-Goebel number 2^n - 1.
1, 3, 4, 6, 6, 8, 7, 10, 10, 12, 12, 15, 12, 14, 16, 18, 14, 20, 16, 23, 20, 22, 22, 25, 25, 24, 23, 29, 26, 30, 27, 31, 33, 28, 32, 38, 36, 31, 36, 40, 37, 38, 33, 43, 44, 42, 39, 48, 39, 49, 45, 48, 43, 49, 49, 53, 47, 54, 47, 61
Offset: 1
Keywords
Examples
The rooted tree with Matula-Goebel number 2047 = 2^11 - 1 is (((o)(o))(ooo(o))), which has 12 nodes (o's plus brackets), so a(11) = 12.
Crossrefs
Programs
-
Mathematica
mgwt[n_]:=If[n==1,1,1+Total[Cases[FactorInteger[n],{p_,k_}:>mgwt[PrimePi[p]]*k]]]; Table[mgwt[2^n-1],{n,30}]
Comments