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

A032411
Numbers k such that 123*2^k+1 is prime.
0
6, 8, 17, 21, 29, 32, 46, 57, 69, 128, 141, 268, 333, 476, 742, 832, 1173, 1677, 5068, 9568, 15453, 34761, 39992, 41213, 41852, 93982, 100748, 102929, 164069, 286268, 561012, 582672, 875878, 1107008, 3049038, 3230548, 3716758, 4266441
OFFSET
1,1
MATHEMATICA
Select[Range[1000], PrimeQ[123*2^# + 1] & ] (* Robert Price, Dec 17 2018 *)
PROG
(PARI) is(n)=ispseudoprime(123*2^n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A315941 A025081 A162951 * A345034 A058098 A112158
KEYWORD
nonn,hard,more
EXTENSIONS
Extended by Hugo Pfoertner, Jul 02 2003
a(30)-a(34) from the Ray Ballinger and Wilfrid Keller link by Robert Price, Dec 17 2018
a(35) from Jeppe Stig Nielsen, Jan 19 2020
a(36)-a(38) from Jeppe Stig Nielsen, Dec 23 2024
STATUS
approved