OFFSET
1,1
COMMENTS
Number of terms among first 10^k primes, k=1..8:
0, 1, 17, 105, 646, 4385, 31721, 240346, 1884832.
E.g., k=1, first 10 primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and only 19 is a term of the sequence. - Zak Seidov, May 08 2017
Primes p such that prime(p+2) = p + 10. - Harvey P. Dale, Jan 13 2022
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..2000
R. J. Mathar, Table of Prime Gap Constellations
MAPLE
select(p -> isprime(p) and isprime(p+10) and (isprime(p+4) xor isprime(p+6)), [seq(i, i=5..10000, 2)]); # Robert Israel, May 08 2017
MATHEMATICA
Select[Prime[Range[1000]], NextPrime[#, 2] == # + 10 &]
Select[Partition[Prime[Range[400]], 3, 1], #[[1]]+10==#[[3]]&][[All, 1]] (* Harvey P. Dale, Jan 13 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 06 2017
STATUS
approved