A193940 Starting position of the first occurrence of the decimal number 10^n in the decimal expansion of Pi.
1, 49, 854, 854, 387791, 2393355, 10359802, 13310435, 172330849, 2542542101, 95257866194, 1587461837108, 3186699229889, 3186699229889
Offset: 0
Examples
Pi = 3.141592653589793238462643383279502884197169399375105.. The '1' (10^0) after the decimal point is at position 1. The '1' of the first occurrence of '10' (10^1) is at position 49.
Links
- Peter TrĂ¼b, 22.4 trillion digits of pi
Programs
-
Mathematica
str = ToString[N[Pi-3, 2*10^8]]; s = "1"; Table[pos = StringPosition[str, s, 1][[1,1]] - 2; s = s <> "0"; pos, {9}] (* this code takes a long time. T. D. Noe, Aug 10 2011 *)
Extensions
Edited by Hans Havermann, Jul 21 2014
a(9) from Hans Havermann, Jul 21 2014
a(10)-a(13) from Dmitry Petukhov, Jan 15 2020
Comments