login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124660 sum_{k=1..n-2} ( prime(n+k)/2 + prime(n-k)/2 -prime(n) ). 1
0, 2, -1, 5, 4, 16, 17, 3, 24, 6, 9, 42, 50, 27, 10, 56, 40, 59, 119, 103, 130, 110, 50, 83, 167, 204, 302, 349, 102, 141, 130, 243, 103, 233, 225, 219, 287, 282, 277, 437, 273, 438, 524, 700, 428, 148, 236, 427, 532, 548, 772, 580, 598, 614, 628, 864, 884, 1018, 1274, 1053 (list; graph; refs; listen; history; internal format)
OFFSET

3,2

MAPLE

A124660 := proc(n) add( (ithprime(n+k)+ithprime(n-k))/2-ithprime(n), k=1..n-2) ; end proc:

seq(A124660(n), n=3..80) ; # R. J. Mathar, Mar 28 2010

CROSSREFS

Sequence in context: A152192 A120924 A079285 * A141485 A005605 A145882

Adjacent sequences:  A124657 A124658 A124659 * A124661 A124662 A124663

KEYWORD

sign,easy

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Dec 23 2006

EXTENSIONS

Offset corrected and sequence extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 28 2010

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 12:41 EST 2012. Contains 205909 sequences.