OFFSET
1,1
COMMENTS
Green & Sawhney prove that this sequence is infinite. - Charles R Greathouse IV, Oct 08 2024
LINKS
Colin Barker, Table of n, a(n) for n = 1..1750
Ben Green and Mehtaab Sawhney, Primes of the form p^2 + nq^2, arXiv preprint (2024). arXiv:2410.04189 [math.NT]
EXAMPLE
419 is in the sequence because 419 = 13^2 + 10*5^2 and 419, 13 and 5 are all primes.
MATHEMATICA
Select[#1^2 + 10 #2^2 & @@ # & /@ Tuples[Prime@ Range@ 36, 2], PrimeQ] // Sort (* Michael De Vlieger, Jul 29 2015 *)
PROG
(PARI) list(lim)=my(v=List()); lim\=1; forprime(q=2, sqrtint((lim-9)\10), my(t=10*q^2); forprime(p=3, sqrtint(lim-t), my(r=t+p^2); if(isprime(r), listput(v, r)))); Set(v) \\ Charles R Greathouse IV, Oct 08 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jul 29 2015
STATUS
approved