Arthur D. answered 09/03/15
Mathematics Tutor With a Master's Degree In Mathematics
Alex G.
asked 09/03/15Arthur D. answered 09/03/15
Mathematics Tutor With a Master's Degree In Mathematics
David W. answered 09/03/15
Experienced Prof
Hopefully, other tutors will give an equation and explain the math (combinations) for this problem.
However, I’ll give some analysis: If there is to be one and only one S (“exactly one S”), we could take the liberty of sorting the product codes just for purposes of counting them. So, if the first letter must be an S and there may not be another S in the code, we simply have 4 more letters in the code.
How many combinations are there of Y, R, and V (no S) in 4 positions? It’s like a gas pump (or odometer, or bicycle lock, etc.) with 4 dials that can have any of 3 values: 3*3*3*3 (=81) possibilities.
There are also 81 possibilities when S is in position 2; another 81 possibilities when S is in position 3; and 81 possibilities when S is 4, and another 81 possibilities when S is in position 5. Although not in alphabetic code order, this accounts for all codes (and counts those with exactly one S). Thus, 81+81+81+81+81 = 405 total.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.