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!)
A077126 Sum of even-indexed primes. 6
3, 10, 23, 42, 71, 108, 151, 204, 265, 336, 415, 504, 605, 712, 825, 956, 1095, 1246, 1409, 1582, 1763, 1956, 2155, 2378, 2607, 2846, 3097, 3360, 3631, 3912, 4205, 4516, 4833, 5170, 5519, 5878, 6251, 6634, 7031, 7440, 7861, 8294, 8737, 9194, 9657, 10136, 10627 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Partial sums of A031215. - Michel Marcus, Oct 27 2015
LINKS
EXAMPLE
p_1=2, p_2=3, p_3=5 and p_4=7, therefore a(2) = p_2 + p_4 = 3 + 7 = 10.
MATHEMATICA
A077126list[nmax_]:=Accumulate[Prime[Range[2, 2nmax, 2]]]; A077126list[100] (* Paolo Xausa, Aug 28 2023 *)
PROG
(PARI) pc=1; ps=0; forprime (p=2, 500, pc=3-pc; if (pc==1, ps=ps+p; print1(ps", ")))
CROSSREFS
Sequence in context: A270470 A166119 A041403 * A172113 A172112 A227347
KEYWORD
nonn
AUTHOR
Jon Perry, Nov 29 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 April 23 11:27 EDT 2024. Contains 371913 sequences. (Running on oeis4.)