OFFSET
1,1
LINKS
Ray Ballinger and Wilfrid Keller, List of primes k.2^n + 1 for k < 300
Wilfrid Keller, List of primes k.2^n - 1 for k < 300
Kosmaj, Riesel list k<300.
PROG
(PARI) is(n)=ispseudoprime(277*2^n-1) \\ Charles R Greathouse IV, Jun 13 2017
(Python)
from sympy import isprime
def afind(limit, startat=0):
pow2 = 2**startat
for k in range(startat, limit+1):
if isprime(277*pow2-1): print(k, end=", ")
pow2 *= 2
afind(3333) # Michael S. Branicky, May 21 2021
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
N. J. A. Sloane, Dec 29 1999
EXTENSIONS
490805 from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
STATUS
approved