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.

A345208 Decimal expansion of log(2*Pi) - gamma - 1, where gamma is Euler's constant (A001620).

Original entry on oeis.org

2, 6, 0, 6, 6, 1, 4, 0, 1, 5, 0, 7, 8, 1, 2, 6, 2, 2, 9, 5, 4, 1, 4, 7, 3, 8, 2, 7, 2, 8, 8, 3, 2, 8, 4, 8, 6, 8, 0, 6, 3, 5, 6, 1, 1, 3, 3, 5, 6, 4, 3, 2, 2, 6, 8, 2, 8, 5, 3, 5, 8, 4, 6, 0, 8, 0, 6, 6, 3, 6, 6, 5, 0, 7, 6, 8, 5, 6, 1, 2, 4, 4, 5, 2, 5, 3, 9
Offset: 0

Views

Author

Amiram Eldar, Jun 10 2021

Keywords

Comments

The first two formulae (in the Formula section) are similar to the sum and integral lim_{n->oo} (1/n) * Sum_{k=1..n} frac(n/k) = Integral_{x=0..1} frac(1/x) dx = 1 - gamma (A153810).
The second raw moment of the distribution of the fractional part of 1/x, where x is chosen uniformly at random from (0, 1]. Since the expected value is 1 - gamma, the second central moment, or variance, is log(2*Pi) - gamma - 1 - (1 - gamma)^2 = log(2*Pi) - gamma^2 + gamma - 2 = 0.081914807503... and the standard deviation is sqrt(log(2*Pi) - gamma^2 + gamma - 2) = 0.2862076300...

Examples

			0.26066140150781262295414738272883284868063561133564...
		

References

  • Ovidiu Furdui, Limits, Series, and Fractional Part Integrals: Problems in Mathematical Analysis, New York: Springer, 2013. See Problem 3.42, pages 145 and 195.

Crossrefs

Programs

  • Mathematica
    RealDigits[Log[2*Pi] - EulerGamma - 1, 10, 100][[1]]

Formula

Equals lim_{n->oo} (1/n) * Sum_{k=1..n} frac(n/k)^2, where frac(x) = x - floor(x) is the fractional part of x.
Equals Integral_{x=0..1} frac(1/x)^2 dx.
Equals 2 * Sum_{k>=2} (zeta(k)-1)/(k*(k+1)).
Equals A061444 - A001620 - 1.
Equals -2 * Sum_{k>=1} (H(k) - log(k) - gamma - 1/(2*k)), where H(k) = A001008(k)/A002805(k) is the k-th harmonic number (Furdui, 2013). - Amiram Eldar, Mar 26 2022