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.

A277533 Value of decimal number corresponding to the string of equal digits starting at position A277532(n) after the decimal point in the decimal expansion of the Euler-Mascheroni constant.

Original entry on oeis.org

5, 77, 777, 0, 0, 333333
Offset: 1

Views

Author

Felix Fröhlich, Oct 19 2016

Keywords

Crossrefs

Programs

  • PARI
    emstring(n) = default(realprecision, n+10); my(x=Euler); floor(x*10^n)
    emdigit(n) = emstring(n)-10*emstring(n-1)
    searchstrval(n) = my(x=1, i=1); while(1, my(y=x+1); while(emdigit(y)==emdigit(x), y++; i++); if(i >= n, return(emdigit(x)*(10^n-1)/9)); i=1; x++)
    a(n) = searchstrval(n)

Formula

a(n) = A001620(A277532(n)) * A002275(n).