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!)
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
Sequence in context: A249916 A115044 A206770 * A275515 A098806 A256103
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)