login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143504 Numbers k such that k > first location of string of k in decimal expansion of e. 2
7, 8, 18, 23, 28, 35, 36, 45, 47, 49, 52, 53, 57, 59, 60, 62, 66, 67, 69, 70, 71, 72, 74, 75, 76, 77, 81, 82, 84, 87, 90, 93, 94, 95, 96, 97, 99, 135, 138, 166, 174, 178, 181, 182, 193, 195, 200, 217, 218, 232, 233, 235, 240, 244, 247, 249, 251, 260, 264, 266 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
'Location' starts from the first digit after the decimal point and refers to the first digit of a(n).
LINKS
Robert Nemiroff and Jerry Bonnell, The Number e to 1 Million Digits.
FORMULA
a(n) > A078197(n). - Michael S. Branicky, Jul 10 2022
EXAMPLE
1 is not a term since it is less than its location in e, 2.
7 is a term since it is greater than its location in e, 1.
18 is a term since it is greater than its location in e, 2.
PROG
(Python)
from sympy import E
from itertools import count, islice
digits_of_e = str(E.n(10**5))[1:-1] # raise to 10**6 for b-file
def agen():
for k in count(1):
kloc = digits_of_e.find(str(k))
assert kloc > 0, ("Increase precision", k)
if k > kloc: yield k
print(list(islice(agen(), 60))) # Michael S. Branicky, Jul 10 2022
CROSSREFS
Sequence in context: A155946 A144614 A308953 * A322636 A309482 A308926
KEYWORD
base,nonn
AUTHOR
Leonid Ianoushevitch (leonid163(AT)mail.ru), Oct 24 2008
EXTENSIONS
Terms corrected and a(45) and beyond from Michael S. Branicky, Jul 10 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 08:02 EDT 2024. Contains 371236 sequences. (Running on oeis4.)