OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..100000
MATHEMATICA
f[n_] := If[n == 1, 1, Times @@ Power @@@ ({#[[1]] + 2, #[[2]]} & /@ FactorInteger [n])]; rad[n_] := Times @@ (First@# & /@ FactorInteger@n); fun[p_, n_] := If[ PrimeQ[p + 2] && Divisible[n, p + 2], p + 2, 1]; a[n_] := GCD[rad[n], f[rad[n]]]/ Times @@ (fun[#, n] & /@ FactorInteger[n][[;; , 1]]); Array[a, 120] (* Amiram Eldar, Dec 16 2018 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 16 2018
STATUS
approved