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

A035089
Smallest prime of form 2^n*k + 1.
12
2, 3, 5, 17, 17, 97, 193, 257, 257, 7681, 12289, 12289, 12289, 40961, 65537, 65537, 65537, 786433, 786433, 5767169, 7340033, 23068673, 104857601, 167772161, 167772161, 167772161, 469762049, 2013265921, 3221225473, 3221225473, 3221225473, 75161927681
OFFSET
0,1
COMMENTS
a(n) is the smallest prime p such that the multiplicative group modulo p has a subgroup of order 2^n. - Joerg Arndt, Oct 18 2020
LINKS
Gareth A. Jones and Alexander K. Zvonkin, Groups of prime degree and the Bateman-Horn conjecture, 2021.
MATHEMATICA
a = {}; Do[k = 0; While[ !PrimeQ[k 2^n + 1], k++ ]; AppendTo[a, k 2^n + 1], {n, 1, 50}]; a (* Artur Jasinski *)
PROG
(PARI) a(n)=for(k=1, 9e99, if(ispseudoprime(k<<n+1), return(k<<n+1))) \\ Charles R Greathouse IV, Jul 06 2011
CROSSREFS
Analogous case is A034694. Fermat primes (A019434) are a subset. See also Fermat numbers A000215.
Sequence in context: A001042 A214697 A379775 * A045313 A321910 A045314
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(0) from Joerg Arndt, Jul 06 2011
STATUS
approved