A license plate in a certain state consists of digits, not necessarily distinct, and letters, also not necessarily distinct. These six characters may appear in any order, except that the two letters must appear next to each other. How many distinct license plates are possible?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Glue the two adjacent letters into one block: it can start in any of 5 positions among the 6 slots, times 10^4 digit strings times 26^2 letter pairs.
Solution
Because the two letters are adjacent, treat them as one two-character block. A plate is then a row of five items: the block and four digit positions.
Choose where the block sits: its left end can be slot , or of the six slots, so positions.
Fill the block: choices for the first letter and for the second (repeats allowed and the order is part of the plate), so ordered pairs.
Fill the four digit slots from left to right: choices each, strings.
By the multiplication principle the total is .
The answer is .
Why this works
An adjacency restriction is handled by bundling the adjacent items into a block, which converts the restriction into an ordinary placement count. Since digits and letters are read as strings (order already built in), no factorials are needed: just count block positions, then fill every slot independently.
Alternative approach
Answer-choice check: the plate certainly involves digit choices and letter choices, so the count is times the number of layouts. Choice (A) would mean only one layout, which is false; the only other choice of that shape is (C).
The trap
Multiplying by an extra 2 for the letters' order (26^2 already distinguishes AB from BA) or by 6 instead of 5 for the block's position.
Common mistakes
- Multiplying by an extra for the letters' order ( already distinguishes AB from BA) or by instead of for the block's position.
- Multiplying by to "arrange" the digits, which double counts because already lists every digit string in order.
Techniques
Set up the equation/formula and compute; no special trick needed