OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
FORMULA
a(n) = n + A052126(n).
MATHEMATICA
Array[# (1 + 1/FactorInteger[#][[-1, 1]]) &, 83] (* Michael De Vlieger, Jul 08 2020 *)
PROG
(PARI) A335876(n) = if(1==n, 2, n + (n/vecmax(factor(n)[, 1])));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 28 2020
STATUS
approved