Problem:
The English alphabet, which has 26 letters, is randomly permuted. Let be the probability that , , and all appear as contiguous substrings. Let be the probability that and both appear as contiguous substrings. Compute .
Problem:
The English alphabet, which has 26 letters, is randomly permuted. Let be the probability that , , and all appear as contiguous substrings. Let be the probability that and both appear as contiguous substrings. Compute .
Solution:
There are ways to arrange the alphabet such that , , and all appear as contiguous substrings: treat each of these pairs of letters as a single merged symbol, which leaves 23 symbols to permute. Similarly, there are ways to arrange the alphabet such that and both appear as contiguous substrings. Thus, and , so the answer is .