login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066491 Twin prime gaps: Pairs k, k+1 such that f(k) = f(k+1), where f is the prime gaps function given by f(m) = prime(m+1)-prime(m) and prime(m) denotes the m-th prime. 0
2, 3, 15, 16, 36, 37, 39, 40, 46, 47, 54, 55, 55, 56, 73, 74, 102, 103, 107, 108, 110, 111, 118, 119, 129, 130, 160, 161, 164, 165, 184, 185, 187, 188, 194, 195, 199, 200, 218, 219, 239, 240, 271, 272, 272, 273, 291, 292, 339, 340, 358, 359, 387, 388, 419, 420 (list; graph; refs; listen; history; text; internal format)
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.
LINKS
FORMULA
a(2*n-1) = A064113(n); a(2*n) = A064113(n) + 1. - Andrew Howroyd, Oct 22 2023
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
Cf. A001223 (f), A064113.
Sequence in context: A309765 A238691 A241721 * A282383 A299486 A173334
KEYWORD
easy,nonn,tabf
AUTHOR
Joseph L. Pe, Jan 03 2002
EXTENSIONS
More terms from Jason Earls, Jan 05 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 09:15 EDT 2024. Contains 372302 sequences. (Running on oeis4.)