Finding 2016 in pi
by John from John D. Cook on (#Z9R2)
2016 appears in I starting at the 7173rd decimal place:
You can confirm this with Mathematica or Wolfram Alpha:
Mod[ Floor[10^7177 pi] , 10000]
I found it using the following Python code:
>>> from sympy import pi >>> digits = str(pi.evalf(10000))[2:] >>> digits.find('2016') 7173
By the way, it's also true that 2016 = 1 + 2 + 3 + " + 63.