Just a random question that popped into my head while reading (thank you for the article!)... What would be the longest repetitions of digits within various orders of magnitude of Pi?<p>In other words, the first 10 characters (again looking at only the fractional portion:<p>1415926535<p>The longest repetition is a length of one and the digit is 1.<p>Playing with regexes, I found:<p>In 100 digits, you get a repetition of the digits 592<p>In 1000 digits, the first longest repetition is 23846<p>In 10000 digits, I found a six digit repetition, 120190 but
at that point, the quadradic nature of the regex made searching for 7 impossible so I would probably write a program that used something like suffix trees to get further.