The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A077131 Sum of odd-indexed primes. 4

%I

%S 2,7,18,35,58,89,130,177,236,303,376,459,556,659,768,895,1032,1181,

%T 1338,1505,1684,1875,2072,2283,2510,2743,2984,3241,3510,3787,4070,

%U 4377,4690,5021,5368,5721,6088,6467,6856,7257,7676,8107,8546,8995,9456,9923

%N Sum of odd-indexed primes.

%C Partial sums of A031368. - _Michel Marcus_, Oct 27 2015

%e p_1=2, p_2=3 and p_3=5, therefore a(2) = p_1 + p_3 = 2 + 5 = 7.

%o (PARI) a(n)=if(n<1,0,sum(k=1,n, prime(2*k-1)))

%Y Cf. A031368, A077126.

%K nonn

%O 1,1

%A _Jon Perry_, Nov 29 2002

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.

Last modified December 3 18:15 EST 2020. Contains 338908 sequences. (Running on oeis4.)