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.

Showing 1-2 of 2 results.

A155028 Primes p such that p^3 + 2*p^2 + p + 1 is also prime.

Original entry on oeis.org

2, 5, 7, 13, 23, 47, 79, 89, 103, 109, 137, 139, 193, 223, 229, 257, 277, 293, 317, 347, 379, 389, 443, 457, 499, 593, 607, 653, 677, 709, 733, 823, 853, 883, 907, 953, 1013, 1033, 1087, 1103, 1117, 1283, 1297, 1307, 1327, 1367, 1409, 1489, 1523, 1549, 1597
Offset: 1

Views

Author

Vincenzo Librandi, Jan 19 2009

Keywords

Crossrefs

Cf. A154686.

Programs

  • Magma
    [p: p in PrimesUpTo(1600)| IsPrime(p^3 + 2*p^2 + p + 1)]; // Vincenzo Librandi, Oct 30 2012
  • Mathematica
    Select[Prime[Range[1600]], PrimeQ[(#^3 + 2*#^2 + # + 1)]&] (* Vincenzo Librandi, Oct 30 2012 *)

A115018 Numbers k such that (k+1)*(k+2)^2 + 1 is prime.

Original entry on oeis.org

0, 1, 3, 4, 6, 11, 12, 19, 22, 24, 26, 27, 31, 32, 33, 34, 38, 41, 43, 46, 47, 48, 49, 53, 56, 74, 78, 81, 87, 88, 91, 94, 97, 98, 99, 102, 108, 109, 113, 116, 118, 119, 122, 131, 133, 136, 138, 146, 147, 159, 168, 171, 179, 188, 189, 192, 193, 199
Offset: 1

Views

Author

Parthasarathy Nambi, Feb 23 2006

Keywords

Comments

One less than the entry in A154686 at the same index.

Examples

			If k=34 then (k+1)*(k+2)^2 + 1 = 45361 (prime).
		

Crossrefs

Cf. A154686.

Programs

Extensions

More terms from Stefan Steinerberger, Mar 02 2006
Showing 1-2 of 2 results.