OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Product_t mg(t) where the product is over all (not necessarily distinct) terminal subtrees of the rooted tree with Matula-Goebel number n, and mg(t) is the Matula-Goebel number of t.
Completely multiplicative with a(prime(n)) = prime(n) * a(n). - Rémy Sigrist, Jul 18 2019
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
difac[n_]:=If[n==1, {}, With[{m=Product[Prime[i]/i, {i, primeMS[n]}]}, Sort[Join[primeMS[n], difac[n/m]]]]];
Table[Times@@Prime/@difac[n], {n, 30}]
PROG
(PARI) a(n) = my (f=factor(n)); prod (i=1, #f~, (f[i, 1] * a(primepi(f[i, 1])))^f[i, 2]) \\ Rémy Sigrist, Jul 18 2019
CROSSREFS
Sorting the sequence gives A324850.
KEYWORD
nonn,mult
AUTHOR
Gus Wiseman, Mar 20 2019
EXTENSIONS
Keyword mult added by Rémy Sigrist, Jul 18 2019
STATUS
approved