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-2 of 2 results.

A366566 a(n) is the expected end time of a game with three gamblers, one of which starts with capital n, the others with capital 1 each. The end time, rounded to the nearest integer, is given for games in which one of the two poor players wins.

Original entry on oeis.org

3, 6, 9, 13, 17, 22, 28, 34, 41, 49, 58, 67, 76, 87, 98, 109, 122, 135, 149, 163, 178, 194, 210, 227, 245, 263, 282, 302, 322, 343, 365, 387, 410, 434, 458, 483, 509, 535, 562, 590, 619, 648, 677, 708, 739, 770, 803, 836, 869, 904, 939, 974, 1011, 1048, 1085
Offset: 1

Views

Author

Hugo Pfoertner, Oct 13 2023

Keywords

Comments

For details see the Diaconis link.
Initially, terms up to a(25) were calculated using Monte Carlo simulation of 10^9 games at each value of n.
The expected end times without rounding to nearest integer are: 3.00, 5.57, 8.76, 12.57, 17.03, 22.14, 27.91, 34.33, 41.41, 49.15, 57.55, 66.61, 76.33, 86.72, ... .
The expected shorter end time also allowing the rich player to win would be 2*n+1 (Bachelier, 1912, page 149).

Crossrefs

Cf. A366166, A366567 (mode of corresponding probability distributions), A366995, A366996.

Formula

a(n) equals A366995(n)/A366996(n) rounded to the nearest integer. - Pontus von Brömssen, Oct 31 2023

Extensions

a(26)-a(55) from Pontus von Brömssen, Oct 31 2023

A366166 Decimal expansion of sqrt(Pi)/(3*sqrt(3))*(Gamma(1/3)/Gamma(5/6))^3.

Original entry on oeis.org

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

Views

Author

Hugo Pfoertner, Oct 13 2023

Keywords

Comments

This constant c occurs in the probability that the "big player" in a game with 3 gamblers goes broke first, although he starts with an initial capital of N-2 units, whereas the other two gamblers start with one unit each. This probability is ~ c/N^3. See Diaconis link for details.

Examples

			4.5597944999598458154817364845572481176367423801661405635...
		

Crossrefs

Programs

  • Mathematica
    First[RealDigits[Gamma[1/3]^9/(2Pi)^4,10,100]] (* Paolo Xausa, Oct 14 2023 *)
  • PARI
    sqrt(Pi)/(3*sqrt(3))*(gamma(1/3)/gamma(5/6))^3

Formula

Equals Gamma(1/3)^9 / (2*Pi)^4. - Peter Luschny, Oct 13 2023
Showing 1-2 of 2 results.