login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A086477
Primes p such that 128p+1 and (p-1)/128 are both prime.
3
21377, 44417, 140417, 151169, 151937, 155777, 436097, 539009, 569729, 570497, 608129, 658817, 704897, 830849, 865409, 965249, 1000577, 1008257, 1054337, 1130369, 1214849, 1311617, 1419137, 1429889, 1556609, 1618817, 1779329
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