OFFSET
1,1
COMMENTS
Each pair of terms yields a triple of primes in arithmetic progression; e.g., 2,3 yields the prime triple 3,5,7.
FORMULA
EXAMPLE
2,3 is a twin prime gap since f(2) = f(3) = 2. 54,55 is a twin prime gap since f(54) = f(55) = 6.
MATHEMATICA
(* to find the smaller number in each twin prime gap *)
f[n_] := Prime[n + 1] - Prime[n]; Select[Range[1, 10^3], f[ # ] == f[ # + 1] &]
CROSSREFS
KEYWORD
easy,nonn,tabf
AUTHOR
Joseph L. Pe, Jan 03 2002
EXTENSIONS
More terms from Jason Earls, Jan 05 2002
STATUS
approved