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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124660 a(n) = Sum_{k=1..n-2} ( prime(n+k)/2 + prime(n-k)/2 - prime(n) ). 1

%I #7 Aug 12 2015 02:17:49

%S 0,2,-1,5,4,16,17,3,24,6,9,42,50,27,10,56,40,59,119,103,130,110,50,83,

%T 167,204,302,349,102,141,130,243,103,233,225,219,287,282,277,437,273,

%U 438,524,700,428,148,236,427,532,548,772,580,598,614,628,864,884,1018,1274,1053

%N a(n) = Sum_{k=1..n-2} ( prime(n+k)/2 + prime(n-k)/2 - prime(n) ).

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

%p seq(A124660(n),n=3..80) ; # _R. J. Mathar_, Mar 28 2010

%K sign,easy

%O 3,2

%A _Artur Jasinski_, Dec 23 2006

%E Offset corrected and sequence extended by _R. J. Mathar_, Mar 28 2010

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 April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)