A computer code is made up of three letters followed by four digits.
- In how many ways is the code possible?
- If 97 of the three-letter combinations cannot be used because they are offensive, how many codes are still possible?
For 1), I used the fundamental principle of counting:
$26\cdot26\cdot26\cdot10\cdot10\cdot10\cdot10 = 17576000$
For 2), I subtracted the total number of offensive combinations from the result I got from 1):
$17576000 - 97\cdot10\cdot10\cdot10\cdot10 = 16606000$
However, my textbook says that the answer to the second question is $174790000$.
I am wondering which answer is correct...
I think you did a mistake while caculating for the part 1) Answer should be 175760000 and Now if you subtract 970000 from it you will get the same answer as in your textbook.which is equal to 174790000