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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A107257 Smallest prime p such that for each j <= n there are primes a < b <= p whose difference b - a is 2*j. 0
 5, 7, 11, 11, 13, 17, 17, 19, 23, 23, 29, 29, 29, 31, 37, 37, 37, 41, 41, 43, 47, 47, 53, 53, 53, 59, 59, 59, 61, 67, 67, 67, 71, 71, 73, 79, 79, 79, 83, 83, 89, 89, 89, 101, 101, 101, 101, 101, 101, 103, 107, 107, 109, 113, 113, 131, 131, 131, 131, 131, 131, 131, 131 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Every positive even number <= 2*n is the difference of two suitable primes <= a(n). Sequence is nondecreasing, whereas the related sequence A020484 is not; first divergence is at 45: a(45) = 101, A020484(45) = 97. LINKS EXAMPLE Consider n = 45: 89, 97, 101 are consecutive primes, 2*45 = 97 - 7, but 2*44 = 101 - 13 cannot be written as b - a where a and b are primes <=97, hence a(45) = 101. CROSSREFS Cf. A060264, A020484. Sequence in context: A249916 A115044 A206770 * A275515 A098806 A256103 Adjacent sequences:  A107254 A107255 A107256 * A107258 A107259 A107260 KEYWORD nonn AUTHOR Klaus Brockhaus, May 15 2005 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.

Last modified May 25 19:19 EDT 2022. Contains 354071 sequences. (Running on oeis4.)