login
This site is supported by donations 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

G. C. Greubel, Table of n, a(n) for n = 1..5000

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

Cf. A000040, A000217, A000330.

Sequence in context: A297361 A210440 A220499 * A007057 A206918 A056373

Adjacent sequences:  A110474 A110475 A110476 * A110478 A110479 A110480

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 04:00 EDT 2019. Contains 322406 sequences. (Running on oeis4.)