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.

A155852 n is prime and is the sum of the first k primes for some k in A071151.

This page as a plain text file.
%I A155852 #2 Mar 31 2012 12:38:20
%S A155852 3,509,146749,26444543,187206119,735187721,1662266153,2146936021,
%T A155852 2844048943,4335869143,5539721989,5990371801,6145377247,6788645863,
%U A155852 10092092897,19122368737,20186509381,25745240897,32732349829
%N A155852 n is prime and is the sum of the first k primes for some k in A071151.
%C A155852 3+127+379=509 (prime), ...
%t A155852 s1=s2=0;lst={};Do[p=Prime[n];s1+=p;If[PrimeQ[s1],s2+=s1;If[PrimeQ[s2],AppendTo[lst,s2]]],{n,2,8!}];lst
%Y A155852 Cf. A013918, A071151, A155851
%K A155852 nonn
%O A155852 1,1
%A A155852 _Vladimir Joseph Stephan Orlovsky_, Jan 29 2009