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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071148 Partial sums of sequence of odd primes (A065091); a(n) = sum of the first n odd primes. 23
3, 8, 15, 26, 39, 56, 75, 98, 127, 158, 195, 236, 279, 326, 379, 438, 499, 566, 637, 710, 789, 872, 961, 1058, 1159, 1262, 1369, 1478, 1591, 1718, 1849, 1986, 2125, 2274, 2425, 2582, 2745, 2912, 3085, 3264, 3445, 3636, 3829, 4026, 4225, 4436, 4659, 4886 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = A007504(n+1) - 2.

MAPLE

ListTools:-PartialSums(select(isprime, [seq(i, i=3..1000, 2)])); # Robert Israel, Feb 12 2017

MATHEMATICA

Accumulate@ Prime@ Range[2, 49] (* Michael De Vlieger, Feb 12 2017 *)

PROG

(PARI) a(n) = sum(k=1, n+1, prime(k)) - 2; \\ Michel Marcus, Feb 12 2017

CROSSREFS

Cf. A007504, A013916, A013917, A013918, A065091.

Sequence in context: A071399 A001208 A159465 * A172289 A172296 A048598

Adjacent sequences:  A071145 A071146 A071147 * A071149 A071150 A071151

KEYWORD

nonn,easy

AUTHOR

Labos Elemer, May 13 2002

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 19 05:29 EST 2018. Contains 317333 sequences. (Running on oeis4.)