OFFSET
1,1
COMMENTS
Prime triples (p, p+4, p+6) are one of the two types of densest permissible constellations of 3 primes. Maximal gaps between triples of this type are listed in A201596; see more comments there.
LINKS
Alexei Kourbatov, Table of n, a(n) for n = 1..79
Tony Forbes, Prime k-tuplets
Alexei Kourbatov, Maximal gaps between prime triples
Alexei Kourbatov and Marek Wolf, Predicting maximal gaps in sets of primes, arXiv preprint arXiv:1901.03785 [math.NT], 2019.
Eric W. Weisstein, k-Tuple Conjecture
EXAMPLE
The gap of 6 between triples starting at p=7 and p=13 is the very first gap, so a(1)=7. The gap of 24 between triples starting at p=13 and p=37 is a maximal gap - larger than any preceding gap; therefore a(2)=13. The gap of 30 between triples at p=37 and p=67 is again a maximal gap, so a(3)=37. The next gap is smaller, so it does not contribute to the sequence.
MATHEMATICA
DeleteDuplicates[{#[[1]], #[[2]]-#[[1]]}&/@Partition[Select[Prime[Range[ 5206000]], AllTrue[#+{4, 6}, PrimeQ]&], 2, 1], GreaterEqual[#1[[2]], #2[[2]]]&] [[All, 1]] (* Harvey P. Dale, Aug 04 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexei Kourbatov, Dec 03 2011
STATUS
approved