OFFSET
1,1
MATHEMATICA
Prime[ Select[ Range[957580], PrimeQ[(Prime[ # ] - 1)/512] && PrimeQ[512Prime[ # ] + 1] &]]
Select[Prime[Range[900000]], AllTrue[{512#+1, (#-1)/512}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Dec 13 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls and Amarnath Murthy, Jul 22 2003
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jul 26 2003
STATUS
approved