What is the probability of six (or more) appearances of a $3$ digit string within the first $1,000$ digits of $\pi$ (assuming $\pi$ was random). Not including rep digits, which may complicate the answer because of their increased likelihood (eg $1111$ could count as $2$ incidences of $111$).
I have calculated that the probability of finding at least one occurrence of a $3$ digit number within a random $1000$ digit string is $0.6323$ based on the formula
$$1-{(1-{0.1}^{3})}^{1000}$$
But the probability of six or more occurrence? Must be a longshot. Any help would be appreciated.
In your 1000 digits you have 998 sequences of 3 digits. The probability to find there exactly $k$ times a given 3-digit number is: $$ p(k)=\binom{998}{k}q^k(1-q)^{998-k}, $$ where $q=1/1000$. The probability of six or more occurrences can be then computed as: $$ 1-p(0)-p(1)-p(2)-p(3)-p(4)-p(5)\approx 0.000582. $$