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!)
A071148 Partial sums of sequence of odd primes (A065091); a(n) = sum of the first n odd primes. 47
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
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
Sequence in context: A071399 A001208 A159465 * A172289 A172296 A048598
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 30 02:07 EDT 2024. Contains 373859 sequences. (Running on oeis4.)