%I #31 Dec 23 2024 12:13:59
%S 4,8,32,200,272,416,484,788,3560,6628,44392,64264,75832,80440,94112,
%T 315104,359404,428576,608192,1209572,5057960
%N Numbers k such that 181*2^k+1 is prime.
%H Ray Ballinger, <a href="http://www.prothsearch.com/index.html">Proth Search Page</a>.
%H Ray Ballinger and Wilfrid Keller, <a href="http://www.prothsearch.com/riesel1.html">List of primes k.2^n + 1 for k < 300</a>.
%H Wilfrid Keller, <a href="http://www.prothsearch.com/riesel2.html">List of primes k.2^n - 1 for k < 300</a>.
%H <a href="/index/Pri#riesel">Index entries for sequences of n such that k*2^n-1 (or k*2^n+1) is prime</a>.
%p select(k->isprime(181*2^k+1),[$0..1000]); # _Muniru A Asiru_, Dec 18 2018
%t Select[Range[1000], PrimeQ[181*2^# + 1] & ] (* _Robert Price_, Dec 18 2018 *)
%o (PARI) is(n)=ispseudoprime(181*2^n+1) \\ _Charles R Greathouse IV_, Jun 13 2017
%K nonn,hard,more
%O 1,1
%A _N. J. A. Sloane_
%E a(16)-a(20) from the Ray Ballinger and Wilfrid Keller link by _Robert Price_, Dec 18 2018
%E a(21) from _Jeppe Stig Nielsen_, Dec 23 2024