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

A050541
Numbers k such that 31*2^k-1 is prime.
0
1, 5, 7, 11, 13, 23, 33, 35, 37, 47, 115, 205, 235, 271, 409, 739, 837, 887, 2189, 3465, 4653, 5073, 8011, 8061, 21957, 24589, 25657, 44653, 50321, 57647, 62083, 78179, 80021, 81655, 111667, 150265, 177089, 196433, 274115, 306751, 311389, 315523, 406105, 421129
OFFSET
1,2
COMMENTS
773227 is also in the sequence. - Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
MATHEMATICA
Select[Range[1000], PrimeQ[31*2^# - 1] & ] (* Robert Price, Dec 22 2018 *)
PROG
(PARI) is(n)=ispseudoprime(31*2^n-1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A032365 = 31*2^n+1 is prime.
Sequence in context: A349459 A216770 A216736 * A098865 A022885 A176831
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 29 1999
EXTENSIONS
More terms from Hugo Pfoertner, Aug 29 2004
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
a(43)-a(44) from the Wilfrid Keller link by Robert Price, Dec 22 2018
STATUS
approved