OFFSET
1,1
LINKS
Bruno Berselli, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[200]], PrimeQ[5+38#^2]&] (* Harvey P. Dale, Jul 24 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(1000) | IsPrime(5+38*p^2)]; // Vincenzo Librandi, Sep 13 2015
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(5+38*p^2), print1(p, ", "))); \\ Michel Marcus, Sep 13 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 21 2010
EXTENSIONS
Edited, corrected and extended by Alonso del Arte and N. J. A. Sloane, Jun 18 2010
STATUS
approved