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!)
A301744 Numbers k such that 2^k - 2*k + 1 is prime. 0
0, 3, 5, 6, 8, 11, 12, 13, 18, 25, 31, 35, 114, 152, 186, 228, 245, 308, 360, 371, 575, 685, 721, 732, 1361, 2394, 3138, 3446, 5964, 9482, 22793, 51233, 112800, 120491, 199615, 416641 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Terms through 1361 correspond to provable primes; terms beyond 1361 correspond to probable primes.
After 22793, there are no more terms through 40000. - Jon E. Schoenfield, Mar 27 2018
a(37) > 5*10^5. - Robert Price, Jun 01 2018
LINKS
MAPLE
select(k->isprime(2^k-2*k+1), [$0..3000]); # Muniru A Asiru, Apr 03 2018
MATHEMATICA
Select[Range[0, 1000], PrimeQ[2^# - 2*# + 1] &]
PROG
(Magma) [n: n in [0..1000] |IsPrime(2^n-2*n+1)]; // Vincenzo Librandi, Mar 27 2018
(PARI) isok(n) = isprime(2^n-2*n+1); \\ Michel Marcus, Mar 27 2018
CROSSREFS
Sequence in context: A268896 A014254 A131422 * A087720 A309544 A154111
KEYWORD
nonn,more,hard
AUTHOR
Vaclav Kotesovec, Mar 26 2018
EXTENSIONS
a(31) from Jon E. Schoenfield, Mar 27 2018
a(32)-a(34) from Robert Price, Apr 03 2018
a(35)-a(36) from Robert Price, Jun 01 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)