# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a035089
Showing 1-1 of 1
%I A035089 #43 Jun 21 2023 12:06:55
%S A035089 2,3,5,17,17,97,193,257,257,7681,12289,12289,12289,40961,65537,65537,
%T A035089 65537,786433,786433,5767169,7340033,23068673,104857601,167772161,
%U A035089 167772161,167772161,469762049,2013265921,3221225473,3221225473,3221225473,75161927681
%N A035089 Smallest prime of form 2^n*k + 1.
%C A035089 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
%H A035089 Alois P. Heinz, Table of n, a(n) for n = 0..1000
%H A035089 Gareth A. Jones and Alexander K. Zvonkin, Groups of prime degree and the Bateman-Horn conjecture, 2021.
%t A035089 a = {}; Do[k = 0; While[ !PrimeQ[k 2^n + 1], k++ ]; AppendTo[a, k 2^n + 1], {n, 1, 50}]; a (* _Artur Jasinski_ *)
%o A035089 (PARI) a(n)=for(k=1,9e99,if(ispseudoprime(k<