Let’s Go to Rome
Although virtually obsolete, Roman Numerals are subtly embedded into our culture. From the Super Bowl and Olympics to royal titles, Roman Numerals refuse to fully be extinguished from our every day lives. And that’s not without reason. All numbers are beautiful and Roman Numerals are no exception, even if they are written a little differently from their Arabic counterparts.
In this post, we’ll examine some fascinating properties of Roman Numerals - namely the lengths of Roman Numerals in succession.
First, we define a simple Arabic –> Roman Numeral converter. Start by creating two vectors, one for the 13 Roman symbols and another for the Arabic counterparts. Next, a simple for/while combination iterates through the arrays and chooses the appropriate Roman symbols while iteratively decreasing the input variable.
1 2 3 4 5 6 7 8 9 10 11 12 13
Next we want to find the lengths of each of these representations:
1 2 3 4 5 6
Finally, plot the result:
1 2 3 4
What a fascinating relationship! The lengths seem to take a sinusoidal shape with positive drift. We can see that although the average length keeps rising, the plot goes through very regular cycles of rising and falling.