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.

A088484 Sequence of the primes P = p(k)^2 + p(k) - 1 such that P and P + 2 are twin primes where p(k) denotes k-th prime.

Original entry on oeis.org

5, 11, 29, 1721, 3539, 8009, 10301, 17291, 552791, 579881, 1424441, 5815331, 7094231, 7450169, 9069131, 10378061, 10572251, 11899049, 22576751, 38112101, 43553399, 46696721, 52265669, 75160229, 82074539, 86927651, 90658961, 94468679, 94935791, 103052951, 116240741
Offset: 1

Views

Author

Pierre CAMI, Nov 09 2003

Keywords

Examples

			For k = 26, p(26) = 101, 101^2 + 101 - 1 = 10301, 10301 and 10303 twin primes, therefore 10301 is a term.
		

Crossrefs

p(k) given in A088483.

Programs

  • Mathematica
    f[n_] := n^2 + n - 1; f /@ Select[Range[10^4], And @@ PrimeQ[{#, f[#], f[#] + 2}] &] (* Amiram Eldar, Dec 27 2019 *)

Extensions

Corrected by T. D. Noe, Nov 15 2006
More terms from Amiram Eldar, Dec 27 2019