login
Numbers k such that 127*2^k - 1 is prime.
3

%I #27 Sep 16 2025 23:43:16

%S 25,113,39545,170393,220417

%N Numbers k such that 127*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="https://web.archive.org/web/20210715115849/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>

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

%K nonn,hard,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