OFFSET
1,1
COMMENTS
Consider sets of 5 consecutive primes with 4 different gaps 2,4,6,8.
From 4!=24 cases only 8 gap configurations are possible:
{2,4,6,8},{2,4,8,6},{2,6,4,8},{6,2,4,8},
{6,8,4,2},{8,4,2,6},{8,4,6,2},{8,6,4,2}.
Least sets of 5 consecutive primes with corresponding gap configurations are:
{{347,349,353,359,367},{2,4,6,8}}
{{1997,1999,2003,2011,2017},{2,4,8,6}}
{{10091,10093,10099,10103,10111},{2,6,4,8}}
{{8081,8087,8089,8093,8101},{6,2,4,8}}
{{83,89,97,101,103},{6,8,4,2}}
{{1439,1447,1451,1453,1459},{8,4,2,6}}
{{2531,2539,2543,2549,2551},{8,4,6,2}}
{{1979,1987,1993,1997,1999},{8,6,4,2}}.
MATHEMATICA
p = Prime[Range[1000]]; First /@ Select[Partition[p, 5, 1], Last[#] - First[#] == 20 &] (* T. D. Noe, May 23 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 20 2011
STATUS
approved