OFFSET
1,1
COMMENTS
Square roots of squares in A050705.
All terms are odd.
Includes 3*p if p, 9*p^2+2*p+6 and 9*p^2-2*p-6 are all primes; the generalized Bunyakovsky conjecture implies there are infinitely many of these.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 35 is a term because A001414(35) = 12 and 35^2-2*12 = 1201 and 35^2+2*12 = 1249 are primes.
MAPLE
spf:= n -> add(t[1]*t[2], t=ifactors(n)[2]):
filter:= proc(n) local s; s:= spf(n); isprime(n^2-2*s) and isprime(n^2+2*s) end proc:
select(filter, [seq(i, i=1..10000, 2)]);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Apr 15 2021
STATUS
approved