Anyway, this is an interesting problem. Suppose we demand that the minimum distance between the vowels is d. I can then still solve the problem using my method, I'm interested if the simple method that pka gave can be modified to work too.
This is how I would solve it. Choose again a particular ordering for the five vowels. Then there are:
\(\displaystyle \L\sum_{i_{1}=1}^{26}\L\sum_{i_{2}=i_{1}+d}^{26}\cdots\sum_{i_{5}=i_{4}+d}^{26} 1\)
ways to put in the vowels. We need to multiply this summation by the 5! possible orderings of the vowels and by 21! for the possible ways to put in the consonants.
The summation can be evaluated by mapping this to a lattice path problem. Suppose you make a total of 26 steps of which five must be toward the North and 21 to the East. After a step to the North at least
d−1 steps to the East must be made before another step to the North can be made. It is easy to see that the summation counts all possible lattice paths of this type, the summation variables indicating where a step to the North is taken.
This problem can be mapped to a problem where no restriction exists but where there are a total of
26−4×(d−1) steps. You just put in
d−1 steps toward the East inbetween two steps to map the latter problem to the former problem. The latter problem is easily solved. The number of lattice paths is:
Binomial[26-4(d-1),5]. The answer is thus:
(25−4d)!(30−4d)!(21)!