Back to Strings, Sets, and Binomial Coefficients

Exercise 9

Avg difficulty 2.5

A database uses 2020-character strings as record identifiers. The valid characters in these strings are upper-case letters in the English alphabet and decimal digits. (Recall there are 2626 letters in the English alphabet and 1010 decimal digits.) How many valid record identifiers are possible if a valid record identifier must meet all of the following criteria:

  • Letter(s) from the set {A,E,I,O,U}\{A,E,I,O,U\} occur in exactly three positions of the string.

  • The last three characters in the string are distinct decimal digits that do not appear elsewhere in the string.

  • The remaining characters of the string may be filled with any of the remaining letters or decimal digits.

Keller & Trotter, Applied Combinatorics, Strings, Sets, and Binomial Coefficients — Exercises, Exercise 9

AI Tutor

Adapted from Applied Combinatorics © 2006–2025 Mitchel T. Keller, William T. Trotter. Licensed under CC BY-SA 4.0. Source: Applied Combinatorics. Imported at revision 07286c4.