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