login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096935
Smallest number k such that in its decimal representation the first n digits of Pi=3.14... are contained in 11^k.
0
3, 3, 18, 189, 247, 993, 993, 3164, 22045, 23345
OFFSET
1,1
COMMENTS
a(11) > 40000. - Robert G. Wilson v, Aug 19 2004
EXAMPLE
n=3, '314': 11^18 = 5559917313492231481, therefore a(3)=18: floor(11^a(3) / 100) mod 1000 = 314.
MATHEMATICA
f[0] = 1; f[n_] := f[n] = Block[{pi = StringTake[ ToString[ RealDigits[Pi, 10, n][[1]]], {2, -2}], k = f[n - 1]}, While[ StringPosition[ ToString[ IntegerDigits[11^k]], pi] == {}, k++ ]; k]; (* Robert G. Wilson v, Aug 19 2004 *)
CROSSREFS
Sequence in context: A371552 A189737 A261567 * A136475 A143180 A074249
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Aug 18 2004
EXTENSIONS
a(9)-a(10) from Robert G. Wilson v, Aug 19 2004
STATUS
approved