Because of rapid growth, a city wants to introduce a new system for license tags. There are 10,000 cars that need a new license tag. At first, they want to collect every possible system that gives enough possibilities for 10,000 cars. But there are some conditions for a system:
(3) The system should not have too many symbols. If the system with letters and digits or with letters and digits also works (gives enough possibilities), then they will choose that.
For example, is allowed, because there are possibilities. Neither nor works, as can be verified similarly. isn't allowed, because already has enough possibilities
Now, they want to reserve a few license tags for a company. These tags should satisfy the following conditions:
(4) If there are letters, they are all the same.
How many license tags can they reserve from all allowed systems?
Details and Assumptions:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First, let‘s make a list of all possible systems.
If there are a letters and b digits, the system will give 2 6 a ⋅ 1 0 b possibilities.
So, for a = 0 letters, b must satisfy 2 6 0 ⋅ 1 0 b ≥ 1 0 , 0 0 0 . Because of rule 3, we have to pick the smallest b , which is b = 4 . This means that the system S ( 0 , 4 ) is allowed. We do the same thing for b = 1 , 2 , … to get the valid systems S ( 1 , 3 ) , S ( 2 , 2 ) and S ( 3 , 0 ) .
Here we can stop because a ≥ 4 would break rule 3. By rule 5, S ( 3 , 0 ) is also invalid because it doesn‘t use any digits.
Therefore, we are left with S ( 0 , 4 ) , S ( 1 , 3 ) and S ( 2 , 2 ) .
So in total, from all valid systems they can reserve 1 0 0 + 8 3 2 + 2 6 0 = 1 1 9 2 .
(Note: ⌈ x ⌉ means rounding up to the next integer)