Passcodes with repetition

Question

How many ways are there to form a five-letter codeword satisfying the following conditions using only the letters a to z (all lowercase). Repetitions are allowed.

  1. No restrictions.
  2. The codeword must start with a vowel.
  3. The codeword must end with a consonant.
  4. The codeword starts with two vowels and end with a consonant.

Solution

  1. 265=11,881,376
  2. 5×264=2,284,880
  3. 21×264=9,596,496
  4. 52×21×262=354,900

Skills used