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.

A242071 Decimal expansion of 'beta', a constant appearing in the random links Traveling Salesman Problem.

Original entry on oeis.org

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

Views

Author

Jean-François Alcover, Aug 14 2014

Keywords

Examples

			2.041548186412132418045490158381455866340250252564691915512131281...
		

References

  • Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 8.5 Traveling Salesman constants, p. 499.

Crossrefs

Programs

  • Mathematica
    y[x_] := -2 - ProductLog[-1, E^(-2-x)*(2 - 2*E^x + x)]; beta = (1/2)*NIntegrate[y[x], {x, 0, Infinity}, WorkingPrecision -> 102]; beta // RealDigits // First

Formula

beta = integral_{x>0} y(x) dx, where y(x) = -2 - W_(-1) (e^(-2-x) *(2-2*e^x+x)), W_k(z) being the k-th order Lambert W function (also known as ProductLog). y(x) is implicitly defined by the equation (1+x/2)*exp(-x)+(1+y(x)/2)*exp(-y(x)) = 1.

A246822 Decimal expansion of the expected value of the function max(x-1,0) with respect to the normal distribution (with zero mean and unit standard deviation).

Original entry on oeis.org

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

Views

Author

Jean-François Alcover, Sep 04 2014

Keywords

Examples

			0.083315470587686298383062738567598577306584937464...
		

Crossrefs

Programs

  • Mathematica
    Join[{0}, RealDigits[1/Sqrt[2*E*Pi] - (1/2)*Erfc[1/Sqrt[2]], 10, 102] // First]
  • PARI
    1/sqrt(2*exp(1)*Pi) - (1/2)*erfc(1/sqrt(2)) \\ Michel Marcus, Sep 04 2014

Formula

1/sqrt(2*e*Pi) - (1/2)*erfc(1/sqrt(2)).
Also equals A240717*(1 - 1/A111129).
Showing 1-2 of 2 results.