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.

A141489 Numbers k such that k^2 + k + 257 is prime.

Original entry on oeis.org

0, 2, 3, 4, 7, 9, 10, 11, 13, 14, 17, 18, 20, 21, 23, 24, 25, 27, 28, 30, 31, 34, 37, 41, 42, 44, 48, 49, 51, 53, 56, 59, 60, 63, 65, 66, 67, 69, 70, 73, 74, 77, 79, 80, 81, 83, 88, 90, 91, 93, 94, 95, 100, 101, 104, 107, 111, 114, 115, 116, 119, 122, 125, 129, 135, 137
Offset: 1

Views

Author

Parthasarathy Nambi, Aug 09 2008

Keywords

Examples

			If k=0, then k^2 + k + 257 = 257 (prime).
If k=100, then k^2 + k + 257 = 10357 (prime).
		

Crossrefs

Programs

  • Magma
    [n: n in [0..5000] |IsPrime(n^2+n+257)]; // Vincenzo Librandi, Nov 25 2010
    
  • Mathematica
    Select[Range[0,200],PrimeQ[#^2+#+257]&] (* Harvey P. Dale, Jun 07 2016 *)
  • PARI
    isok(n) = isprime(n^2+n+257); \\ Michel Marcus, Mar 12 2017

Extensions

More terms from Vincenzo Librandi, Mar 25 2010