California License Plates Part 1
License plates in the state of California follow an interesting pattern with 7 letters and numbers, and we're going to run out soon! Everyone panic!! However, this journal isn't about that just yet, but we're building up to it.
Simple Numeric Sequence
First things first, if we have let's say a simple 3-digit license plate of all numbers, going sequentially up, like this:
Text Only | |
---|---|
The formula to determine the sequence number \(N\) from the license plate NNN
would be as follows:
For example, the license plate 123
is what place in the sequence?
Awesome. If you have the sequence number, lets say \(123\), and want to know the corresponding plate, things are a little bit more complicated, but still easy for this example.
Nice! We get right back to 123
. Easy peasy.
We could also determine the total number of combinations like this:
There are 1,000 3-digit combinations for license plates with only numbers, which makes perfect sense. Count them all!
Letter Sequence
Assume you have a 2-letter license plate in the pattern LL
, things get a little more complicated since we are no longer dealing with base-10.
Text Only | |
---|---|
How many possible plates are there?
This is an easy one, just 26 squared, or 676. The formula to go from the license plate to the sequence number \(N\) would be as follows:
Each letter would correspond to a number with A
starting at zero:
Letter | Value |
---|---|
A |
\(0\) |
B |
\(1\) |
C |
\(2\) |
D |
\(3\) |
E |
\(4\) |
F |
\(5\) |
G |
\(6\) |
H |
\(7\) |
I |
\(8\) |
J |
\(9\) |
K |
\(10\) |
L |
\(11\) |
M |
\(12\) |
N |
\(13\) |
O |
\(14\) |
P |
\(15\) |
Q |
\(16\) |
R |
\(17\) |
S |
\(18\) |
T |
\(19\) |
U |
\(20\) |
V |
\(21\) |
W |
\(22\) |
X |
\(23\) |
Y |
\(24\) |
Z |
\(25\) |
So, if you had license plate NV
, that would be this number in the sequence:
So going backwards from sequence number 359, you'd get this:
That translates back to NV
!
Really, all we needed to do here was change our 10's to 26's, so this was actually pretty simple. Now what about letter-number combinations? That's where things get dicey. Tune in next time!