OFFSET
1,1
COMMENTS
a(n) >= 4. - Zak Seidov, May 11 2015
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
The first primes that are not 2 less than or 2 greater than another prime are 2, 23, 37,... (A007510). The second gap is 37-23=14, so a(2)=14.
MATHEMATICA
ntpg[n_]:=Module[{prn=Prime[Range[n]], tp}, tp=Union[Flatten[Select[ Partition[prn, 2, 1], Last[#]- First[#] ==2&]]]; Differences[Complement[ prn, tp]]]; ntpg[200] (* Harvey P. Dale, Apr 09 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Neil Fernandez, Mar 22 2002
STATUS
approved