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.

Showing 1-1 of 1 results.

A097708 Sum of prime-length repunits: Sum_{k=1..n} r(prime(k)), where r()=A002275.

Original entry on oeis.org

0, 11, 122, 11233, 1122344, 11112233455, 1122223344566, 11112233334455677, 1122223344445566788, 11112233334455556677899, 11111122223344445566667789010, 1122222233334455556677778900121
Offset: 0

Views

Author

Jason Earls, Aug 21 2004

Keywords

Examples

			a(3)=11233 because 11 + 111 + 11111 = 11233.
		

Crossrefs

Cf. A097709.
Partial sums of A031974.

Programs

  • PARI
    a(n) = sum(k=1, n, (10^prime(k)-1)/9); \\ Michel Marcus, Jul 17 2022
Showing 1-1 of 1 results.