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”).

A032504
Numbers k such that 255*2^k+1 is prime.
1
2, 5, 32, 36, 38, 41, 57, 69, 71, 72, 116, 137, 156, 197, 237, 336, 353, 489, 545, 678, 1040, 1137, 1217, 1451, 1577, 1589, 1836, 3077, 4640, 4850, 5145, 7139, 7766, 8051, 9662, 11159, 13433, 13763, 15998, 16862, 19002, 25412, 35558, 47916, 48509, 86900
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[1000], PrimeQ[255*2^# + 1] & ] (* Robert Price, Dec 20 2018 *)
PROG
(PARI) is(n)=ispseudoprime(255*2^n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A132527 A182327 A364270 * A041397 A042811 A261045
KEYWORD
nonn,hard,changed
AUTHOR
EXTENSIONS
a(46)-a(63) from the Ray Ballinger and Wilfrid Keller link by Robert Price, Dec 20 2018
STATUS
approved