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.

A119264 Primes of the form k^6 + k^2 + 1.

Original entry on oeis.org

3, 739, 2986129, 11390851, 191103553, 387421219, 1291469059, 2176783633, 8303767651, 24794914213, 34296450499, 646990192099, 782757798913, 2194972636933, 3462826006819, 14412774469393, 27752076894853
Offset: 1

Views

Author

Jonathan Vos Post, Jul 23 2006

Keywords

Comments

The numbers k such that k^6 + k^2 + 1 is prime begin 1, 3, 12, 15, 24, 27, 33, 36, 45, 54, 57, 93, 96, 114, 123, 156, 174, 177, 210, ...; other than 1, each is divisible by 3.

Examples

			a(1) = 1^6 + 1^2 + 1 = 3 is prime.
a(2) = 3^6 + 3^2 + 1 = 739 is prime.
a(3) = 12^6 + 12^2 + 1 = 2986129 is prime.
a(4) = 15^6 + 15^2 + 1 = 11390851 is prime.
		

Crossrefs

Programs

  • Magma
    [a: n in [0..250]|IsPrime(a) where a is n^6+n^2+1] // Vincenzo Librandi, Dec 22 2010
  • Mathematica
    Select[Table[n^6+n^2+1,{n,200}],PrimeQ] (* Harvey P. Dale, Oct 17 2019 *)

Formula

a(n) = A000040 INTERSECTION {n^6 + n^2 + 1}.

Extensions

a(1) corrected by Vincenzo Librandi, Dec 22 2010