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.

A074271 Previous term + prime(previous term).

Original entry on oeis.org

1, 3, 8, 27, 130, 863, 7554, 84385, 1165814, 19408513, 381328184, 8690396907, 226500350374, 6671888768963, 219904832427160, 8040978338951561, 323784549401655250, 14264968083112608087
Offset: 1

Views

Author

Zak Seidov, Sep 21 2002

Keywords

Examples

			a(4)=27 because a(3)=8, prime(8)=19 and 8+19=27.
		

Crossrefs

Programs

  • Mathematica
    se={1}; a=1; Do[b=a+Prime[a]; se=Append[se, b]; a=b, {i, 13}]; se
    NestList[ Prime@# + # &, 1, 14] (* Robert G. Wilson v, Jul 17 2010 *)

Formula

a(1) = 1; a(n) = a(n-1) + prime(a(n-1)).
a(n) = A000720(A093502(n)). - Antti Karttunen, Nov 02 2024

Extensions

a(15) from Robert G. Wilson v, Jul 17 2010
a(16)-a(18) from Charles R Greathouse IV, Mar 15 2011