OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..100000
FORMULA
Multiplicative with a(p^e) = p if p|e, otherwise a(p^e) = 1.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Product_{p prime} ((p^(p+1) + p^2 - 3*p +1)/(p*(p^p-1))) = 1.22775972725472961826... . - Amiram Eldar, Jan 20 2024
MATHEMATICA
f[p_, e_] := If[Divisible[e, p], p, 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Jan 20 2024 *)
PROG
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Jan 15 2024
STATUS
approved