OFFSET
1,1
COMMENTS
The equations reduce to b-a = d-c = f-e = g-f = h-g, i.e. gap number 1, 3, 5, 6, 7 are equal. - Jens Kruse Andersen, Oct 14 2017
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..230
EXAMPLE
6337 is a term because it is the first of 8 consecutive primes {6337, 6343, 6353, 6359, 6361, 6367, 6373, 6379} = {a, b, c, d, e, f, g, h}; and (a + h) = (b + g), (c + g) = (d + f), (a + f) = (b + e) and (a + g) = (b + f).
MAPLE
A292715:= proc(n)local a, b, c, d, e, f, g, h; a:=ithprime(n); b:=ithprime(n + 1); c:=ithprime(n + 2); d:=ithprime(n + 3); e:=ithprime(n + 4); f:=ithprime(n + 5); g:=ithprime(n + 6); h:=ithprime(n + 7); if (a + h) = (b + g) and (c + g) = (d + f) and (a + f) = (b + e) and (a + g)=(b + f) then RETURN (a); fi; end: seq(A292715(n), n=1..1000000);
MATHEMATICA
Select[Partition[Prime@ Range[10^6], 8, 1], Function[{a, b, c, d, e, f, g, h}, And[(a + h) == (b + g), (c + g) == (d + f), (a + f) == (b + e), (a + g) == (b + f)]] @@ # &][[All, 1]] (* Michael De Vlieger, Sep 21 2017 *)
Select[Partition[Prime[Range[420000]], 8, 1], Length[Union[Drop[Drop[ Differences[ #], {4}], {2}]]]==1&][[All, 1]](* Harvey P. Dale, Nov 03 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Sep 21 2017
STATUS
approved