Some car made an accident and escaped, the police ask a passenger if he see the number
of the car, he said that the first three digits are 577, given that the number consist of 7 digits,
how many cars may have made the accident. :!:
Hi
This is a permutation problem with repetitions (e.g. the number can be 577 2222). So, there is a total of 10 elements (0 … 9) and we are selecting a sequence of four elements (the last four digits), then each selection is one from 10 elements, giving 10*10*10*10=10000.
Should it be (0-9 + 1- 26)=36 (A-Z) and not 10 ?
what Country is the car from?
Also I think that certain cars have special nomenclature. If it's a
general passenger car or an extra load, or a commercial vehicle...
If this is just a question for fun you would need to get all of the constraints,
but if it's a real problem you need to find out what are, if any, the license
plate format for the country/state you are in.