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.

A370563 Decimal expansion of expected number of trials needed for the sum of uniform random variables from the interval [0,1] to exceed e.

Original entry on oeis.org

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

Views

Author

Clark Kimberling, May 01 2024

Keywords

Examples

			6.104002341363754151667232902275147659559194262...
		

Crossrefs

Programs

  • Mathematica
    u=N[E^(E - 2)*(4 + (E - 2)*E)/2, 100]; First[RealDigits[u]]
    N[Mean[Table[Length[NestWhileList[# + RandomReal[1] &, 0, #1 < E &]] - 1, 10^5]]] (* sample mean *)  (* Peter J. C. Moses, Apr 30 2024 *)

Formula

Equals e*(e-2)*(4 +(e-2)*e)/2.