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

A050587
Numbers n such that 123*2^n-1 is prime.
0
2, 3, 11, 15, 23, 24, 27, 35, 71, 84, 108, 122, 123, 138, 236, 242, 290, 392, 500, 611, 747, 771, 1106, 1490, 3560, 5111, 6066, 8660, 8927, 19451, 19730, 28316, 30471, 49515, 93762, 117083, 168435, 206663, 249242, 255402, 261530, 355727, 389052, 516456, 518540, 521031
OFFSET
1,1
PROG
(PARI) is(n)=ispseudoprime(123*2^n-1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A036972 A041637 A042235 * A293026 A178430 A295128
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