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

A050880
Numbers n such that 243*2^n-1 is prime.
5
2, 6, 8, 11, 12, 18, 24, 27, 36, 38, 44, 56, 58, 62, 116, 134, 162, 242, 274, 348, 358, 478, 512, 548, 658, 824, 1242, 1287, 1531, 2846, 3343, 4818, 4856, 5051, 6024, 7431, 7434, 9432, 9667, 13059, 13482, 18111, 19004, 33571, 40174, 41467, 53206, 57978, 61438
OFFSET
1,1
MATHEMATICA
b=3^5; i=0; Table[While[i++; cp=b*2^i-1; !PrimeQ[cp]]; i, {j, 1, 33}] (* Lei Zhou, Nov 08 2013 *)
PROG
(PARI) is(n)=ispseudoprime(243*2^n-1) \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
Sequence in context: A166064 A144675 A088417 * A182424 A120764 A022430
KEYWORD
hard,nonn
AUTHOR
N. J. A. Sloane, Dec 29 1999
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
STATUS
approved