OFFSET
1,1
COMMENTS
Primes that occur more than once in the sequence include 41, 199, 4159, 9437, 10687, 16561, 31249, 40591, 64601, 67339, 91631, 93889, 96799, 111871, 122201, 145417, 180847, 911201.
LINKS
Robert Israel, Table of n, a(n) for n = 1..450
MAPLE
sopf:= proc(x) local t; add(t[1]*t[2], t=ifactors(x)[2]) end proc:
g:= proc(n) local x, y;
x:= n*sopf(n)+1;
if issqr(x) then
y:= sqrt(x);
if isprime(y) then return y fi
fi
end proc:
map(g, [$1..10^5]);
MATHEMATICA
Block[{f}, f[n_] := Sqrt[n*Total@ Flatten[ConstantArray @@@ FactorInteger[n]] + 1]; f /@ Select[Range[200000], PrimeQ@ f[#] &] ] (* Michael De Vlieger, Apr 06 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Apr 06 2021
STATUS
approved
