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

A096567 First digit to appear n times in the base-10 expansion of Pi.

Original entry on oeis.org

3, 1, 5, 3, 3, 3, 3, 3, 3, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 2, 8, 8, 8, 8, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 4, 8, 2, 2, 8, 2, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Matthew Vandermast, Jun 26 2004

Keywords

Comments

The number 7 finally appears as a(32344). - T. D. Noe, Sep 13 2012
The number 6 appears for the first time as a(99032274). - Kester Habermann, Feb 01 2021

Examples

			a(3) = 5 because 5 is the first digit to appear 3 times in the decimal expansion of Pi = 3.141(5)926(5)3(5)... - _Bobby Jacobs_, Aug 30 2017
		

Crossrefs

Programs

  • Mathematica
    nn = 1000; t = {}; d = RealDigits[Pi, 10, nn][[1]]; dCnt = Table[0, {10}]; cnt = 1; Do[b = ++dCnt[[1 + d[[n]]]]; If[b == cnt, AppendTo[t, d[[n]]]; cnt++], {n, nn}]; t (* T. D. Noe, Sep 13 2012 *)

Extensions

More terms from David Wasserman, Nov 16 2007

A195138 First digit to appear n times in the decimal expansion of e.

Original entry on oeis.org

2, 2, 8, 8, 2, 2, 2, 2, 9, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2, 3, 9, 9, 2, 7, 4, 4, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
Offset: 1

Views

Author

Omar E. Pol, Oct 22 2011

Keywords

Comments

The digits 0 and 5 do not appear among the first 30000 terms. When do they first appear? - Jianing Song, Apr 01 2021

Examples

			From _Michael De Vlieger_, Sep 10 2017: (Start)
a(n) is the first decimal digit of e that first appears n times when e is expanded to the -m place:
   n  a(n)  m
   1   2    0
   2   2    4
   3   8    7
   4   8    9
   5   2   22
   6   2   30
   7   2   33
   8   2   40
   9   9   58
  10   7   63
  11   7   64
  12   7   68
  13   7   78
  14   7   83
  15   7   89
  16   7   99
(End)
		

Crossrefs

Programs

  • Mathematica
    With[{e = First@ RealDigits[N[E, 10^4]]}, Function[t, -1 + Map[FirstPosition[t, #] &, Range@ Max@ t][[All, -1]]]@ Table[BinCounts[Take[e, n], {0, 10, 1}], {n, 10^3}]] (* Michael De Vlieger, Sep 10 2017 *)

Extensions

More terms from D. S. McNeil, Oct 22 2011

A195847 Leaders in the race of digits of Euler's constant (or Euler-Mascheroni constant) gamma.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Oct 22 2011

Keywords

Comments

This is A280811 with repeats removed. - Bobby Jacobs, Jan 12 2017

Examples

			The decimal expansion of gamma = 0.5772156649015... starts with 0 hence the first leader in the race of digits is 0, so a(1) = 0.
After four stages the new leader is 7 because the number 7 appears twice and the earlier leader appears once, so a(2) = 7.
After 14 stages the new leader is 5 because the number 5 appears three times and the earlier leader appears twice, so a(3) = 5.
		

Crossrefs

Extensions

More terms from D. S. McNeil, Oct 22 2011

A341438 First digit to appear n times in the decimal expansion of Catalan's constant.

Original entry on oeis.org

0, 9, 5, 9, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 7, 0, 0, 7, 9, 9, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
Offset: 1

Views

Author

Omar E. Pol, Feb 11 2021

Keywords

Crossrefs

Extensions

More digits from Alois P. Heinz, Mar 16 2021
Showing 1-4 of 4 results.