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.

This page as a plain text file.
%I A100362 #41 Mar 02 2022 12:03:21
%S A100362 2,2,3,13,59,65521,262127,18014398509481931,288230376151711687,
%T A100362 1267650600228229401496703205277,1329227995784915872903807060280344457
%N A100362 Primes of the form 2^k - k + 1.
%C A100362 The next term has 151 digits. - _Stefan Steinerberger_, Feb 11 2006
%H A100362 Vincenzo Librandi, <a href="/A100362/b100362.txt">Table of n, a(n) for n = 1..14</a>
%t A100362 Select[Table[2^n-n+1,{n,0,500}],PrimeQ] (* _Vincenzo Librandi_, Jul 18 2012 *)
%o A100362 (Magma) [ a: n in [0..200] | IsPrime(a) where a is 2^n-n+1 ]; // _Vincenzo Librandi_, Jul 18 2012
%o A100362 (Sage)
%o A100362 def list_a(k):
%o A100362   return [(2**i) - i + 1 for i in range(k) if (2**i) - i + 1 in Primes()] # _Giuseppe Bonaccorso_, Aug 15 2019
%Y A100362 Cf. A001580, A052007, A048744, A100357-A100361.
%K A100362 nonn,easy
%O A100362 1,1
%A A100362 _Labos Elemer_, Nov 19 2004