OFFSET
1,1
COMMENTS
A variant of the cuban primes.
Green & Sawhney prove that this sequence is infinite. - Charles R Greathouse IV, Oct 08 2024
LINKS
Zak Seidov, Table of a(n), p, q for n=1..116.
Ben Green and Mehtaab Sawhney, Primes of the form p^2 + nq^2, arXiv preprint (2024). arXiv:2410.04189 [math.NT]
EXAMPLE
73=5^2+12*2^2, 97= 7^2+12* 2^2, 157= 7^2+12*3^2.
PROG
(PARI) list(lim)=my(v=List()); lim\=1; forprime(q=2, sqrtint((lim-25)\12), my(t=12*q^2); forprime(p=5, 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
Zak Seidov, Feb 04 2016
STATUS
approved