OFFSET
1,2
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
FORMULA
a(n) = n / A354090(n). - Antti Karttunen, May 19 2022
Sum_{k=1..n} a(k) ~ n^2 / 2. - Amiram Eldar, Sep 12 2024
MATHEMATICA
spr[n_]:=Module[{f, m}, f=FactorInteger[n]; m=Min[Last/@f]; n/Times@@First/@f^(m-1)];
Array[spr, 100]
PROG
(PARI)
A007947(n) = factorback(factorint(n)[, 1]);
A051904(n) = if((1==n), 0, vecmin(factor(n)[, 2]));
(PARI) a(n) = if(n == 1, 1, my(f = factor(n), p = f[, 1], e = f[, 2]); n / vecprod(p)^(vecmin(e) - 1)); \\ Amiram Eldar, Sep 12 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 18 2018
EXTENSIONS
Data section extended up to a(83) by Antti Karttunen, May 19 2022
STATUS
approved