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.

A071148 Partial sums of sequence of odd primes (A065091); a(n) = sum of the first n odd primes.

This page as a plain text file.
%I A071148 #26 Feb 13 2017 04:35:31
%S A071148 3,8,15,26,39,56,75,98,127,158,195,236,279,326,379,438,499,566,637,
%T A071148 710,789,872,961,1058,1159,1262,1369,1478,1591,1718,1849,1986,2125,
%U A071148 2274,2425,2582,2745,2912,3085,3264,3445,3636,3829,4026,4225,4436,4659,4886
%N A071148 Partial sums of sequence of odd primes (A065091); a(n) = sum of the first n odd primes.
%H A071148 Robert Israel, <a href="/A071148/b071148.txt">Table of n, a(n) for n = 1..10000</a>
%F A071148 a(n) = A007504(n+1) - 2.
%p A071148 ListTools:-PartialSums(select(isprime, [seq(i,i=3..1000,2)])); # _Robert Israel_, Feb 12 2017
%t A071148 Accumulate@ Prime@ Range[2, 49] (* _Michael De Vlieger_, Feb 12 2017 *)
%o A071148 (PARI) a(n) = sum(k=1, n+1, prime(k)) - 2; \\ _Michel Marcus_, Feb 12 2017
%Y A071148 Cf. A007504, A013916, A013917, A013918, A065091.
%K A071148 nonn,easy
%O A071148 1,1
%A A071148 _Labos Elemer_, May 13 2002