OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
n = 2; a = {}; Do[If[PrimeQ[(Prime[k] + 2n)/(2n + 1)], AppendTo[a, (Prime[k] + 2n)/(2n + 1)]], {k, 1, 1500}]; a
(* Second program: *)
Select[Prime@ Range@ 250, PrimeQ[5 # - 4] &] (* Michael De Vlieger, Aug 04 2017 *)
PROG
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(5*p-4), print1(p, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 12 2007
EXTENSIONS
New name from Michel Marcus, Aug 04 2017
STATUS
approved