The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A200821 Numbers k such that (2^k + k)*2^k - 1 is prime. 7
1, 2, 34, 107, 1568, 1933, 3551, 6793, 16967 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The generalization of this sequence is possible with the primes of the form (b^n +- k)*b^n +- 1.
LINKS
Henri Lifchitz, New forms of primes
EXAMPLE
2 is in the sequence because (2^2 + 2)*2^2 - 1 = 23 is prime.
MATHEMATICA
lst={}; Do[If[PrimeQ[(2^n + n)*2^n-1], AppendTo[lst, n]], {n, 10000}]; lst
PROG
(PARI) is(n)=ispseudoprime((2^n+n)<<n-1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A349496 A337397 A263226 * A200166 A226407 A226336
KEYWORD
nonn,more
AUTHOR
Michel Lagneau, Nov 23 2011
EXTENSIONS
a(9) from Michael S. Branicky, Jul 13 2023
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 19:24 EDT 2024. Contains 372919 sequences. (Running on oeis4.)