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.

A210360 Prime numbers p such that x^2 + x + p produces primes for x = 0..1 but not x = 2.

Original entry on oeis.org

3, 29, 59, 71, 137, 149, 179, 197, 239, 269, 281, 419, 431, 521, 569, 599, 617, 659, 809, 827, 1019, 1031, 1049, 1061, 1151, 1229, 1289, 1319, 1451, 1619, 1667, 1697, 1721, 1787, 1877, 1931, 1949, 2027, 2087, 2111, 2129, 2141, 2309, 2339, 2381, 2549, 2591
Offset: 1

Views

Author

T. D. Noe, Apr 05 2012

Keywords

Comments

The first term is A164926(2).

Crossrefs

Programs

  • Mathematica
    lookfor = 2; t = {}; n = 0; While[Length[t] < 50, n++; c = Prime[n]; i = 1; While[PrimeQ[i^2 + i + c], i++]; If[i == lookfor, AppendTo[t, c]]]; t