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
MATHEMATICA
Table[Sum[Prime[n+k]/2+Prime[n-k]/2-Prime[n], {k, n-2}], {n, 3, 62}] (* James C. McMahon, Dec 14 2024 *)
CROSSREFS
KEYWORD
sign,easy,changed
AUTHOR
Artur Jasinski, Dec 23 2006
EXTENSIONS
Offset corrected and sequence extended by R. J. Mathar, Mar 28 2010
STATUS
approved