OFFSET
1,1
MATHEMATICA
q=5; lst={}; Do[p=Prime[n]; If[PrimeQ[p=2^p-p*q], AppendTo[lst, p]], {n, 5!}]; lst
Select[Table[2^p-5p, {p, Prime[Range[50]]}], PrimeQ] (* Harvey P. Dale, Jul 02 2018 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jan 28 2009
STATUS
approved