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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014285 a(n) = Sum_{j=1..n} j*prime(j). 11
2, 8, 23, 51, 106, 184, 303, 455, 662, 952, 1293, 1737, 2270, 2872, 3577, 4425, 5428, 6526, 7799, 9219, 10752, 12490, 14399, 16535, 18960, 21586, 24367, 27363, 30524, 33914, 37851, 42043, 46564, 51290, 56505, 61941, 67750, 73944, 80457 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

Join[{s=2}, Table[s+=Prime[n]*n, {n, 2, 33}]] (* Vladimir Joseph Stephan Orlovsky, Dec 30 2010 *)

Accumulate[Table[i*Prime[i], {i, 40}]] (* Harvey P. Dale, Sep 10 2014 *)

PROG

(MAGMA) [&+[k*NthPrime(k): k in [1..n]]: n in [1..40]];  // Bruno Berselli, Apr 30 2011

(PARI) {a(n) = sum(j=1, n, j*prime(j))}; \\ G. C. Greubel, Jun 18 2019

(Sage) [sum(j*nth_prime(j) for j in (1..n)) for n in (1..40)] # G. C. Greubel, Jun 18 2019

CROSSREFS

Partial sums of A033286. - Michel Marcus, Jun 18 2019

Sequence in context: A203298 A161463 A190021 * A079460 A154144 A255942

Adjacent sequences:  A014282 A014283 A014284 * A014286 A014287 A014288

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

EXTENSIONS

Offset changed to 1 and six terms added by Bruno Berselli, Apr 30 2011

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 July 17 14:44 EDT 2019. Contains 325106 sequences. (Running on oeis4.)