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.

A101306 a(n) = Sum_{i=1..n} {last digit of prime(i)}.

Original entry on oeis.org

2, 5, 10, 17, 18, 21, 28, 37, 40, 49, 50, 57, 58, 61, 68, 71, 80, 81, 88, 89, 92, 101, 104, 113, 120, 121, 124, 131, 140, 143, 150, 151, 158, 167, 176, 177, 184, 187, 194, 197, 206, 207, 208, 211, 218, 227, 228, 231, 238, 247, 250, 259, 260, 261, 268, 271, 280
Offset: 1

Views

Author

Jorge Coveiro, Dec 22 2004

Keywords

Comments

Asymptotically, a(n) ~ 5n by Dirichlet's theorem. - Charles R Greathouse IV, Sep 28 2008

Examples

			a(1) = 2;
a(2) = 2 + 3 = 5;
a(3) = 2 + 3 + 5 = 10;
a(4) = 2 + 3 + 5 + 7 = 17;
a(5) = 2 + 3 + 5 + 7 + 1(1) = 2 + 3 + 5 + 7 + 1 = 18.
		

Crossrefs

Partial sums of A007652.

Programs

Extensions

Corrected and extended by Robert G. Wilson v, Dec 22 2004