login
A346685
a(n) is the smallest positive integer k such that for all x >= k, at least 50% of the integers in the range 1..x contain n in their decimal expansion. In other words, it is the largest integer k such that exactly half of the integers 1..k have n in their decimal expansion.
0
20327616, 1062880, 2125762, 3188644, 4251526, 5314408, 6377290, 17006110, 18068992, 19131874
OFFSET
0,1
COMMENTS
The sequence is inspired by the fact that, for any string of decimal digits, s, "almost all" integers contain s in their decimal expansion. (The same is true for other bases.)
EXAMPLE
a(1) = 1062880 because exactly half of the integers in [1..1062880] have a 1 in their decimal expansion.
CROSSREFS
Also, this sequence has several values that coincide with values in A117862.
Sequence in context: A050945 A251458 A116497 * A133543 A373467 A294031
KEYWORD
nonn,more,base
AUTHOR
John Mason, Jul 29 2021
STATUS
approved