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.

A073857 a(1) = 1, a(n) = prime obtained as a partial sum of A073856.

This page as a plain text file.
%I A073857 #9 Sep 27 2024 23:01:42
%S A073857 1,5,13,29,61,4157,284093,656100284093,20339100284093,
%T A073857 3676497540347069,39705294559311037,417030640378385569837512131773,
%U A073857 417030640384887681260010079421,329539483223485065027237875106125186237
%N A073857 a(1) = 1, a(n) = prime obtained as a partial sum of A073856.
%H A073857 Robert Israel, <a href="/A073857/b073857.txt">Table of n, a(n) for n = 1..239</a>
%p A073857 B:= 1: S:= {1}: s:= 1:
%p A073857 for n from 2 to 20 do
%p A073857   for k from 2 do
%p A073857     v:= k^n;
%p A073857     if member(v,S) then next fi;
%p A073857     if isprime(s+v) then R:= R,v; B:= B, s+v; S:= S union {v}; s:= s+v; fi;
%p A073857 od od:
%p A073857 B; # _Robert Israel_, Sep 27 2024
%Y A073857 Cf. A073856.
%K A073857 nonn
%O A073857 1,2
%A A073857 _Amarnath Murthy_, Aug 15 2002
%E A073857 More terms from _R. J. Mathar_, Jun 27 2007