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.

A099541 Sum of the first n decimal places of log(Pi).

Original entry on oeis.org

1, 5, 9, 16, 18, 27, 35, 43, 48, 56, 60, 69, 73, 73, 73, 74, 81, 85, 86, 90, 93, 97, 99, 106, 109, 114, 115, 118, 123, 126, 126, 131, 139, 146, 147, 148, 154, 158, 165, 167, 176, 180, 188, 189, 191, 200, 201, 206, 209, 210, 211, 216, 223, 224, 229, 230, 233, 239
Offset: 1

Views

Author

Mark Hudson (mrmarkhudson(AT)hotmail.com), Oct 25 2004

Keywords

Examples

			The decimal places of log(Pi) are 14472988584940017..., leading to the sums
1, 1+4, 1+4+4, 1+4+4+7, 1+4+4+7+2, ... which give the terms 1, 5, 9, 16, 18,...
		

Crossrefs

Cf. A099540 for version that includes the initial "1." of log(Pi). A053510 for digits of log(Pi).

Programs

  • Mathematica
    Accumulate[Rest[RealDigits[Log[Pi],10,100][[1]]]] (* Harvey P. Dale, Jan 22 2024 *)

Formula

a(n)=A099540(n+1)-1