Since each letter is chosen independently and uniformly at random, the probability of typing "proof" in that window is $\left(\frac{1}{26}\right)^5$.
Now, let's consider how many 5-letter windows there are in a string of $1,000,000$ letters. There are $1,000,000
Show more…