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.

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

A276993 First 3-digit number to appear n times in the decimal expansion of Pi.

Original entry on oeis.org

314, 592, 446, 117, 105, 19, 381, 279, 609, 609, 848, 848, 654, 654, 654, 654, 19, 19, 965, 965, 965, 965, 19, 19, 19, 494, 564, 390, 390, 390, 390, 390, 682, 682, 390, 346, 390, 390, 390, 390, 390, 390, 346, 346, 346, 99, 201, 201, 201, 201, 201, 201, 201
Offset: 1

Views

Author

Bobby Jacobs, Sep 24 2016

Keywords

Comments

a(6) is the 3-digit number 019.
By the pigeonhole principle, it suffices to examine 1000n - 997 digits of Pi to find the n-th term; on average 1000n - O(sqrt n) will suffice. Do each of 0..999 appear in this sequence? Which appears last? - Charles R Greathouse IV, Sep 26 2016

Examples

			a(2) = 592 because 592 is the first 3-digit number to appear 2 times in the decimal expansion of Pi = 3.141(592)653589793238462643383279502884197169399375105820974944(592)...
		

Crossrefs

Extensions

More terms from Alois P. Heinz, Oct 02 2016

A277270 First 2-digit number to appear n times in the decimal expansion of e.

Original entry on oeis.org

27, 18, 28, 35, 66, 66, 66, 74, 7, 74, 74, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 25, 25, 25, 25, 44, 25, 44, 44, 44, 44, 96, 96, 63, 63, 25, 96, 25, 96, 63, 63, 63, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36
Offset: 1

Views

Author

Bobby Jacobs, Nov 05 2016

Keywords

Comments

a(9) is the 2-digit number 07.

Examples

			a(2) = 18 because 18 is the first 2-digit number to appear 2 times in the decimal expansion of e = 2.7(18)28(18)...
		

Crossrefs

A290644 First 4-digit number to appear n times in the decimal expansion of e.

Original entry on oeis.org

2718, 1828, 8793, 8793, 7093, 7093, 7093, 7093, 7093, 7093, 7093, 7093, 7093, 7093, 352, 352, 235, 235, 235, 352, 352, 352, 352, 352, 352, 1661, 352, 352, 352, 352, 352, 1891, 1891, 1891, 1891, 1891, 1891, 352, 3917, 3917, 3917, 3917, 3917, 3917, 3917, 5065, 8149, 8149, 8149, 8149
Offset: 1

Views

Author

Bobby Jacobs, Aug 08 2017

Keywords

Comments

Some of the numbers start with 0. For example, a(15) is the 4-digit number 0352.
The first two appearances of a(2) = 1828 appear consecutively as 18281828.

Examples

			a(2) = 1828 because 1828 is the first 4-digit number to appear 2 times in the decimal expansion of e = 2.7(1828)(1828)...
		

Crossrefs

Showing 1-4 of 4 results.