cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A100362 Primes of the form 2^k - k + 1.

Original entry on oeis.org

2, 2, 3, 13, 59, 65521, 262127, 18014398509481931, 288230376151711687, 1267650600228229401496703205277, 1329227995784915872903807060280344457
Offset: 1

Views

Author

Labos Elemer, Nov 19 2004

Keywords

Comments

The next term has 151 digits. - Stefan Steinerberger, Feb 11 2006

Crossrefs

Programs

  • Magma
    [ a: n in [0..200] | IsPrime(a) where a is 2^n-n+1 ]; // Vincenzo Librandi, Jul 18 2012
    
  • Mathematica
    Select[Table[2^n-n+1,{n,0,500}],PrimeQ] (* 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