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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A155215 a(n) is the average of the smallest prime greater than n and largest prime smaller than n + prime(n). 1
 2, 3, 6, 6, 10, 12, 17, 17, 21, 24, 27, 30, 35, 35, 39, 42, 46, 46, 53, 56, 56, 60, 66, 69, 71, 71, 78, 80, 84, 85, 97, 97, 102, 102, 109, 109, 117, 120, 120, 126, 127, 127, 140, 140, 144, 144, 155, 161, 162, 165, 168, 168, 176, 176, 185, 188, 188, 188, 196 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 EXAMPLE a(32)= 97. Smallest prime greater than 32 is 37 and p(32)=131, largest prime smaller than 32+p(32) or 163 is 157. So (37+157)/2 = 97 MATHEMATICA Table[(NextPrime[n]+NextPrime[n+Prime[n], -1])/2, {n, 100}] (* Harvey P. Dale, Apr 17 2013 *) CROSSREFS Sequence in context: A144583 A328565 A308762 * A363075 A119319 A069808 Adjacent sequences: A155212 A155213 A155214 * A155216 A155217 A155218 KEYWORD nonn AUTHOR Avik Roy (avik_3.1416(AT)yahoo.co.in), Jan 22 2009 EXTENSIONS Corrected by Harvey P. Dale, Apr 16 2013 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 September 26 20:30 EDT 2023. Contains 365668 sequences. (Running on oeis4.)