OFFSET
1,1
COMMENTS
Subsequence of A049437. - R. J. Mathar, Feb 10 2013
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..1000
FORMULA
Primes p=p(i) such that p(i+1)=p+2, p(i+2)=p+2+6, p(i+3)=p+2+6+4.
EXAMPLE
29, 29+2=31, 29+2+6=37, 29+2+6+4=41 are consecutive primes.
MATHEMATICA
d = {2, 6, 4}; First /@ Select[Partition[Prime@ Range[10^4], Length@ d + 1, 1], Differences@ # == d &] (* Michael De Vlieger, May 02 2016 *)
Select[Partition[Prime[Range[4700]], 4, 1], Differences[#]=={2, 6, 4}&][[All, 1]] (* Harvey P. Dale, Mar 08 2020 *)
CROSSREFS
Cf. analogous prime quadruple sequences with various possible {2, 4, 6}-difference-patterns in brackets: A007530[242], A078847[246], A078848[264], A078849[266], A052378[424], A078850[426], A078851[462], A078852[466], A078853[624], A078854[626], A078855[642], A078856[646], A078857[662], A078858[664], A033451[666].
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 11 2002
EXTENSIONS
Listed terms verified by Ray Chandler, Apr 20 2009
Typo in example corrected by Michel Marcus, Dec 28 2013
STATUS
approved