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..1500
Ben Green and Mehtaab Sawhney, Primes of the form p^2 + nq^2, arXiv preprint (2024). arXiv:2410.04189 [math.NT]
EXAMPLE
73 is in the sequence because 73 = 7^2 + 6*2^2 and 73, 7 and 2 are all primes.
MATHEMATICA
Select[#1^2 + 6 #2^2 & @@ # & /@ Tuples[Prime@ Range@ 60, 2], PrimeQ] // Sort (* Michael De Vlieger, Jul 29 2015 *)
PROG
(PARI) list(lim)=my(v=List()); lim\=1; forprime(q=2, sqrtint((lim-9)\6), my(t=6*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