OFFSET
1,3
LINKS
Viliam Furík, Table of n, a(n) for n = 1..10000
MAPLE
a:= n-> (d-> n*d/igcd(n, d)^2)(numtheory[tau](n)):
seq(a(n), n=1..65); # Alois P. Heinz, Dec 11 2024
MATHEMATICA
a[n_]:= n * DivisorSigma[0, n]/GCD[n, DivisorSigma[0, n]]^2; Array[a, 65] (* Stefano Spezia, Dec 11 2024 *)
PROG
(PARI) a(n) = my(d = numdiv(n)); n * d / gcd(n, d)^2; \\ Amiram Eldar, Dec 11 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Viliam Furík, Dec 11 2024
STATUS
approved