|
|
A038099
|
|
Numbers k such that k > first location of string of k in decimal expansion of Pi.
|
|
4
|
|
|
4, 5, 9, 14, 15, 23, 26, 32, 33, 35, 38, 41, 43, 46, 50, 51, 53, 58, 59, 62, 64, 65, 69, 71, 74, 75, 78, 79, 81, 82, 83, 84, 86, 88, 89, 92, 93, 94, 95, 97, 98, 99, 105, 117, 132, 141, 148, 159, 164, 169, 170, 172, 174, 193, 197, 208, 209, 211, 214, 223, 229
(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
|
|
|
FORMULA
|
|
|
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(1):
kloc = digits_of_pi.find(str(k))
assert kloc > 0, ("Increase precision", k)
if k > kloc: yield k
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|