How many strings of 10 characters each, such as
ABCPE1234F
can be made such that the first 5 characters are alphabet letters,
the next 4 are digits and the last character is a letter.
(a) The characters may be repeated:
Choose the 1st character 26 ways.
Choose the 2nd character 26 ways.
Choose the 3rd character 26 ways.
Choose the 4th character 26 ways.
Choose the 5th character 26 ways.
Choose the 6th character 10 ways.
Choose the 7th character 10 ways.
Choose the 8th character 10 ways.
Choose the 9th character 10 ways.
Choose the 10th character 26 ways.
That is 26×26×26×26×26×10×10×10×10×26 = 266104 = 3089157760000 ways:
(a) The characters may not be repeated:
Choose the 1st character 26 ways.
Choose the 2nd character 25 ways.
Choose the 3rd character 24 ways.
Choose the 4th character 23 ways.
Choose the 5th character 22 ways.
Choose the 6th character 10 ways.
Choose the 7th character 9 ways.
Choose the 8th character 8 ways.
Choose the 9th character 7 ways.
Choose the 10th character 21 ways.
That is 26×25×24×23×22×10×9×8×7×21 = (26P6)×(10P4) =
(165765600)×(5040) = 835458624000 ways.
Edwin