OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
A253560 := proc(n)
n*A006530(n) # code re-use
end proc:
seq( A253560(n), n=1..80) ; # R. J. Mathar, Jun 27 2024
MATHEMATICA
a[n_] := n FactorInteger[n][[-1, 1]];
Array[a, 100] (* Jean-François Alcover, Feb 15 2021 *)
PROG
(PARI) a(n) = if (n==1, 1, n*vecmax(factor(n)[, 1])); \\ Michel Marcus, Feb 15 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 03 2015
STATUS
approved