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.

A113634 Sum of the first 6^n primes.

Original entry on oeis.org

2, 41, 2427, 132059, 6426919, 291627051, 12646104721, 531741567755, 21868328382007, 884528298065271, 35319715358896709, 1395934334687210019, 54710988941767714851, 2129404515458094306737, 82391816104703313499231, 3171892875586735205701385, 121577571158289668158700601
Offset: 0

Views

Author

Cino Hilliard, Jan 15 2006

Keywords

Examples

			The first 6^1 primes add up to 41.
		

Crossrefs

Programs

  • Mathematica
    t = {}; c = 1; k = 3; s = 2; Do[While[c < 6^n, If[PrimeQ@k, c++; s += k]; k += 2]; Print@s; AppendTo[t, s], {n, 0, 9}]; t (* Robert G. Wilson v, Jan 17 2006 *)

Formula

a(n) = A007504(6^n).

Extensions

a(13)-a(16) from Amiram Eldar, Jul 01 2024