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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A052288 First differences of the average of two consecutive primes (A024675). 9
2, 3, 3, 3, 3, 3, 5, 4, 4, 5, 3, 3, 5, 6, 4, 4, 5, 3, 4, 5, 5, 7, 6, 3, 3, 3, 3, 9, 9, 5, 4, 6, 6, 4, 6, 5, 5, 6, 4, 6, 6, 3, 3, 7, 12, 8, 3, 3, 5, 4, 6, 8, 6, 6, 4, 4, 5, 3, 6, 12, 9, 3, 3, 9, 10, 8, 6, 3, 5, 7, 7, 6, 5, 5, 7, 6, 6, 9, 6, 6, 6, 4, 5, 5, 7, 6, 3, 3, 8, 10, 6, 6, 6, 5, 9, 7, 10, 12, 8, 8, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = (prime(n+3) - prime(n+1))/2.
a(n) = A115061(n+2) = A162345(n+2). - Nathaniel Johnston, Jun 25 2011
EXAMPLE
a(30) = ((113 + 127)/2) - ((127 + 131)/2) = (131 - 113)/2 = 9;
a(31) = ((127 + 131)/2) - ((137 + 131)/2) = (137 - 127)/2 = 5.
MATHEMATICA
Differences@ ListConvolve[{1, 1}/2, Prime@ Range[2, 120]] (* Michael De Vlieger, Dec 17 2016, after Jean-François Alcover at A024675 *)
CROSSREFS
Sequence in context: A277267 A246262 A275974 * A280455 A284725 A055767
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Feb 08 2000
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 December 8 13:46 EST 2023. Contains 367679 sequences. (Running on oeis4.)