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!)
A100362 Primes of the form 2^k - k + 1. 6
2, 2, 3, 13, 59, 65521, 262127, 18014398509481931, 288230376151711687, 1267650600228229401496703205277, 1329227995784915872903807060280344457 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The next term has 151 digits. - Stefan Steinerberger, Feb 11 2006
LINKS
MATHEMATICA
Select[Table[2^n-n+1, {n, 0, 500}], PrimeQ] (* Vincenzo Librandi, Jul 18 2012 *)
PROG
(Magma) [ a: n in [0..200] | IsPrime(a) where a is 2^n-n+1 ]; // Vincenzo Librandi, Jul 18 2012
(Sage)
def list_a(k):
return [(2**i) - i + 1 for i in range(k) if (2**i) - i + 1 in Primes()] # Giuseppe Bonaccorso, Aug 15 2019
CROSSREFS
Sequence in context: A268725 A153929 A184843 * A062439 A139521 A019515
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Nov 19 2004
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 23 14:15 EDT 2024. Contains 371914 sequences. (Running on oeis4.)