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!)
A110477 a(n) = Sum_{k=1..n} k*(prime(k) - k). 1
1, 4, 16, 40, 110, 182, 336, 480, 750, 1210, 1540, 2236, 2912, 3500, 4400, 5712, 7242, 8322, 10260, 12040, 13552, 16192, 18584, 21800, 26000, 29250, 32004, 35728, 38860, 43090, 52576, 57728, 64328, 69020, 78960, 84360, 92796, 101764, 109720, 119720 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = n*(n+1)*(3*prime(n) - 2*n - 1)/6.
MATHEMATICA
Table[n*(n + 1)*(3*Prime[n] - 2*n - 1)/6, {n, 1, 50}] (* G. C. Greubel, Aug 28 2017 *)
PROG
(PARI) for(n=1, 50, print1(n*(n+1)*(3*prime(n)-2*n-1)/6, ", ")) \\ G. C. Greubel, Aug 28 2017
CROSSREFS
Sequence in context: A329892 A220499 A331574 * A007057 A206918 A056373
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 09 2005
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 April 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)