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!)
A038100 Numbers k such that k < first location of string of k in decimal expansion of Pi. 4
0, 2, 3, 6, 7, 8, 10, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 28, 29, 30, 31, 34, 36, 37, 39, 40, 42, 44, 45, 47, 48, 49, 52, 54, 55, 56, 57, 60, 61, 63, 66, 67, 68, 70, 72, 73, 76, 77, 80, 85, 87, 90, 91, 96, 100, 101, 102, 103, 104, 106, 107, 108 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
'Location' starts from the first digit after the decimal point and refers to the first digit of a(n).
LINKS
Dave Andersen, The Pi-Search Page
FORMULA
a(n) < A014777(n). - Michael S. Branicky, Jul 10 2022
PROG
(Python)
from sympy import pi
from itertools import count, islice
digits_of_pi = str(pi.n(10**5))[1:-1]
def agen():
for k in count(0):
kloc = digits_of_pi.find(str(k))
assert kloc > 0, ("Increase precision", k)
if k < kloc: yield k
print(list(islice(agen(), 65))) # Michael S. Branicky, Jul 10 2022
CROSSREFS
Sequence in context: A144705 A028733 A028789 * A299407 A028757 A184798
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Feb 15 1999
EXTENSIONS
Offset changed to 1 by Jinyuan Wang, Sep 04 2021
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 18 22:48 EDT 2024. Contains 370951 sequences. (Running on oeis4.)