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.

A081296 Primes of the form 2^k - k.

This page as a plain text file.
%I A081296 #32 Jul 27 2025 08:47:15
%S A081296 2,5,503,8179,524269,2097131,36028797018963913,
%T A081296 3705346855594118253554271520278013051304639509300498049262642688253220148477691
%N A081296 Primes of the form 2^k - k.
%C A081296 Primes in A000325.
%C A081296 The corresponding k are given in A048744.
%C A081296 Next term a(9) contains 1029 digits and is too large to include. - _R. J. Mathar_, Jul 15 2007
%F A081296 a(n) = 2^A048744(n) - A048744(n). - _R. J. Mathar_, Jul 22 2009
%t A081296 Select[Table[2^n-n,{n,300}],PrimeQ] (* _Harvey P. Dale_, Nov 24 2018 *)
%o A081296 (PARI) { for(k=1,100000, if(isprime(2^k-k), print1(2^k-k,", ")));} \\ _R. J. Mathar_, Jul 15 2007
%Y A081296 Cf. A048744 (k such that 2^k - k is prime).
%K A081296 nonn
%O A081296 1,1
%A A081296 _Reinhard Zumkeller_, Apr 20 2003
%E A081296 More terms from _R. J. Mathar_, Jul 15 2007