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.

A165944 Primes of the form p^2 +3p + 1, where p is also a prime.

Original entry on oeis.org

11, 19, 41, 71, 419, 599, 929, 1481, 1979, 2351, 2969, 3659, 4691, 13109, 19181, 19739, 25121, 27059, 30449, 32579, 53129, 57839, 66821, 69959, 86729, 98909, 122849, 125669, 129959, 140249, 144779, 176819, 202949, 219491, 250499, 254519
Offset: 1

Views

Author

Claudio Meller, Oct 01 2009

Keywords

Comments

Primes of the form p +(p+1)^2 = A000040(k) + A110833(k).

Programs

  • Magma
    [a: p in PrimesInInterval(1, 1000) | IsPrime(a) where a is (p^2 + 3*p + 1)]; // Vincenzo Librandi, Jun 13 2014
  • Mathematica
    Select[Table[p^2 + 3 p + 1, {p, Prime[Range[300]]}], PrimeQ] (* Vincenzo Librandi, Jun 13 2014 *)

Extensions

Entries checked - R. J. Mathar, Oct 05 2009