cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A077131 Sum of odd-indexed primes.

This page as a plain text file.
%I A077131 #20 Jan 09 2025 18:52:12
%S A077131 2,7,18,35,58,89,130,177,236,303,376,459,556,659,768,895,1032,1181,
%T A077131 1338,1505,1684,1875,2072,2283,2510,2743,2984,3241,3510,3787,4070,
%U A077131 4377,4690,5021,5368,5721,6088,6467,6856,7257,7676,8107,8546,8995,9456,9923,10410
%N A077131 Sum of odd-indexed primes.
%C A077131 Partial sums of A031368. - _Michel Marcus_, Oct 27 2015
%H A077131 Paolo Xausa, <a href="/A077131/b077131.txt">Table of n, a(n) for n = 1..10000</a>
%F A077131 a(n) ~ n^2 log n. - _Charles R Greathouse IV_, Jan 09 2025
%e A077131 p_1=2, p_2=3 and p_3=5, therefore a(2) = p_1 + p_3 = 2 + 5 = 7.
%t A077131 A077131list[nmax_]:=Accumulate[Prime[Range[1,2nmax,2]]];A077131list[100] (* _Paolo Xausa_, Aug 28 2023 *)
%t A077131 Accumulate[Prime[Range[1,101,2]]] (* _Harvey P. Dale_, Nov 08 2024 *)
%o A077131 (PARI) a(n)=if(n<1,0,sum(k=1,n, prime(2*k-1)))
%Y A077131 Cf. A031368, A077126.
%K A077131 nonn
%O A077131 1,1
%A A077131 _Jon Perry_, Nov 29 2002