login
Numbers k such that 161*2^k-1 is prime.
0

%I #24 Jan 17 2019 10:08:17

%S 2,6,18,22,34,54,98,122,146,222,306,422,654,682,862,1010,1346,1582,

%T 7890,9714,12498,21742,27810,34798,74382,97746,205370,249710,371426,

%U 394974,447330,587570

%N Numbers k such that 161*2^k-1 is prime.

%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 Kosmaj, <a href="http://www.15k.org/riesellist.html">Riesel list 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>

%t Select[Range[1000], PrimeQ[161*2^# - 1] & ] (* _Robert Price_, Dec 23 2018 *)

%o (PARI) is(n)=ispseudoprime(161*2^n-1) \\ _Charles R Greathouse IV_, Jun 13 2017

%K hard,nonn,more

%O 1,1

%A _N. J. A. Sloane_, Dec 29 1999

%E More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008

%E a(32) from the Wilfrid Keller link by _Robert Price_, Dec 23 2018