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.

A129963 Primes of the form 4^k + k.

Original entry on oeis.org

5, 67, 262153, 1073741839, 18889465931478580854821, 1496577676626844588240573268701473812127674924007509, 118571099379011784113736688648896417641748464297615937576404566024103044751294597
Offset: 1

Views

Author

Cino Hilliard, Jun 10 2007, Aug 20 2007

Keywords

Comments

It is convenient, although not necessary, to let k be an odd number since k even => 4^k + k is even > 2.
Conjecture: sequence is infinite.
The next term (a(8)) has 126 digits. - Harvey P. Dale, Jun 05 2014

Examples

			For k = 3, 4^3 + 3 = 67 is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Table[4^n+n,{n,1,251,2}],PrimeQ] (* Harvey P. Dale, Jun 05 2014 *)
  • PARI
    f(n) = for(x=1,n,y=2^x+x;if(isprime(y),print1(y",")))

Formula

a(n) = A158879(A057909(n)). - Amiram Eldar, Jul 04 2024