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.
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
Keywords
Examples
For k = 26, p(26) = 101, 101^2 + 101 - 1 = 10301, 10301 and 10303 twin primes, therefore 10301 is a term.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
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