Friday, May 24, 2019

mathematics - Unique Licence Plates


Note: This is a Mathematical puzzle, not a Mathematical problem. Although the answer could be solved with mathematics, lots of problems on Puzzling SE could be solved with mathematics, and the problem itself is not that mathematical. The math-puzzle tags are simply because, as I said, the puzzle could be solved mathematically.


Imagine you have 500 cars lined up in a parking lot that a buyer would like. You are the license plate creator who has to create custom plates for the buyer's 500 cars. The buyer makes a strange request. He wants you to create 4-digit numbers on each license plate in such a way that the first three digits and the last three digits cannot be used again for any other cars. (If somebody could improve that explanation, go for it.)


Here's an example: Say you make this license plate:


2465

The license plate's first three digits are 246 and the last three digits are 465. That means that when you are creating the other 499 license plates, these numbers, 246 and 465 cannot be used . Say you were making another license plate:


8246


The 824 wold be fine, but the buyer would not accept this license plate because the 246 was used previously in another car's license plate.


Info: There are 1,000 different three-digit numbers that could go in the first slot and the second slot of the license plate. This means that if each car needs two numbers, then there would need to be 500 cars, which is how many that is in this puzzle.


Diclaimer: I do not know the answer to this puzzle, but was curious what the answer is, and how you would explain it. I thought this up while calculating the odds that a certain three-digit number would appear in a four-digit number section on a license plate. I am asking for answer which explains why or why not meeting the buyer's needs are possible.


If you need any help understanding, ask in the comments.



Answer



Another answer: start the license plate making process by making all possible 500 three-digit plates, where the three digits have even sum. Now to each add a last digit as so: If the first digit on the plate is $n$, use $n+1$ as the last digit (and if the first digit is $9$, use a $0$ as the last digit).


The first three digits of any plate can't be the same as any other first three digits by design. The first three of any plate can't be the same as any last three, because the first three always has even sum and the last three always has odd sum. Finally, the last three of any plate can't overlap with any other plate, since that would imply the first three would be the same (i.e. if two plates end in $340$, both plates must be $9340$).


No comments:

Post a Comment

classical mechanics - Moment of a force about a given axis (Torque) - Scalar or vectorial?

I am studying Statics and saw that: The moment of a force about a given axis (or Torque) is defined by the equation: $M_X = (\vec r \times \...