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.

A216061 Primes p such that p^3 + p + 1 is prime.

Original entry on oeis.org

2, 3, 5, 17, 29, 41, 53, 71, 83, 131, 179, 191, 239, 263, 311, 389, 491, 509, 557, 569, 593, 653, 701, 719, 743, 797, 821, 863, 887, 953, 971, 977, 1019, 1049, 1097, 1109, 1277, 1301, 1319, 1373, 1427, 1481, 1523, 1559, 1601, 1607, 1613, 1667, 1787, 1823
Offset: 1

Views

Author

César Eliud Lozada, Aug 31 2012

Keywords

Crossrefs

Cf. A053182.
Subsequence of A045309.

Programs

  • Magma
    [p: p in PrimesUpTo(2000) | IsPrime(p^3+p+1)]; // Bruno Berselli, Sep 01 2012
  • Maple
    A := {}; for n to 1000 do p := ithprime(n); if isprime(p^3+p+1) then A := `union`(A, {p}) end if end do; A := A
  • Mathematica
    Select[Prime[Range[400]], PrimeQ[#^3 + # + 1] &] (* Bruno Berselli, Sep 01 2012 *)