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!)
A201360 Numbers k such that (2^k - k + 1)*2^k + 1 is prime. 8
1, 2, 39, 44, 62, 1478, 2306, 35335 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
2 is in the sequence because (2^2 - 2 + 1)*2^2 + 1 = 13 is prime.
MATHEMATICA
lst={}; Do[If[PrimeQ[(2^n - n+1)*2^n+1], AppendTo[lst, n]], {n, 10000}]; lst
PROG
(PARI) is(n)=ispseudoprime((2^n-n+1)<<n+1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A062982 A042801 A078733 * A227904 A175760 A080920
KEYWORD
nonn,hard,more
AUTHOR
Michel Lagneau, Nov 30 2011
EXTENSIONS
a(8) from Michael S. Branicky, May 12 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 9 08:36 EDT 2024. Contains 372346 sequences. (Running on oeis4.)