login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050830 Numbers k such that 157*2^k-1 is prime. 0
1, 5, 33, 97, 121, 125, 305, 445, 473, 513, 1581, 3077, 3517, 6345, 8797, 15265, 16641, 32185, 32581, 43905, 77025, 84377, 202345, 230777, 234401, 473073, 802321, 869073 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..28.

Ray Ballinger and Wilfrid Keller, List of primes k.2^n + 1 for k < 300

Wilfrid Keller, List of primes k.2^n - 1 for k < 300

Kosmaj, Riesel list k<300.

Index entries for sequences of n such that k*2^n-1 (or k*2^n+1) is prime

MATHEMATICA

Select[Range[1000], PrimeQ[157*2^# - 1] & ] (* Robert Price, Dec 23 2018 *)

PROG

(PARI) is(n)=ispseudoprime(157*2^n-1) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Sequence in context: A185212 A250225 A250273 * A211059 A292000 A146263

Adjacent sequences:  A050827 A050828 A050829 * A050831 A050832 A050833

KEYWORD

hard,nonn,more

AUTHOR

N. J. A. Sloane, Dec 29 1999

EXTENSIONS

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

a(27)-a(28) from the Wilfrid Keller link by Robert Price, Dec 23 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 11:46 EST 2021. Contains 349416 sequences. (Running on oeis4.)