login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A323112
Numbers k such that 423*2^k+1 is prime.
1
2, 5, 6, 8, 9, 12, 17, 24, 44, 48, 57, 68, 74, 125, 204, 272, 306, 345, 378, 488, 528, 678, 750, 974, 1140, 2274, 2928, 4532, 4533, 6173, 7784, 12500, 14436, 15404, 16406, 56730, 76332, 150317, 207956, 215652, 256686, 269598, 276024, 509720, 644966, 850217
OFFSET
1,1
MAPLE
select(k->isprime(423*2^k+1), [$1..1000]); # Muniru A Asiru, Jan 05 2019
MATHEMATICA
Select[Range[1000], PrimeQ[423*2^# + 1] &]
PROG
(Python)
from sympy.ntheory.primetest import isprime
for n in range(1, 1000):
if isprime(423*2**n+1):
print(n, end=', ') # Stefano Spezia, Jan 05 2019
CROSSREFS
Sequence in context: A273867 A047325 A102611 * A176114 A057915 A154329
KEYWORD
nonn,hard
AUTHOR
Robert Price, Jan 04 2019
STATUS
approved