login
This site is supported by donations 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; internal format)
OFFSET

1,1

COMMENTS

Every positive even number <= 2*n is the difference of two suitable primes <= a(n).

Sequence is non-decreasing, whereas the related sequence A020484 is not; first divergence is at 45: a(45) = 101, A020484(45) = 97.

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. A020484, A060264.

Sequence in context: A023594 A104200 A115044 * A098806 A122278 A124109

Adjacent sequences:  A107254 A107255 A107256 * A107258 A107259 A107260

KEYWORD

nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 15 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 11:25 EST 2012. Contains 205907 sequences.