OFFSET
1,15
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..15015
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..100000
EXAMPLE
For n = 105 = 3*5*7, a(105) = 5*7 = 35.
MATHEMATICA
f[p_, n_] := If[PrimeQ[p + 2] && Divisible[n, p + 2], p + 2, 1]; a[n_] := Times @@ (f[#, n] & /@ FactorInteger[n][[;; , 1]]); Array[a, 120] (* Amiram Eldar, Dec 16 2018 *)
PROG
(PARI) A322356(n) = { my(f = factor(n), m=1); for(i=1, #f~, if(isprime(f[i, 1]+2)&&!(n%(f[i, 1]+2)), m *= (f[i, 1]+2))); (m); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 16 2018
STATUS
approved