MCMLXVII + LXV
M CM L X V I I + L X V
M CM L X V I I L X V
M CM L L X X V V I I
V+V=X, L+L=C, C+CM=M so MMXXXII. Convert everything to decimal if you wanna check my work.
Note that converting CM to DCCCC is actually pretty unnecessary since you can just combine CM and C to make M instead of having to count up lots of C’s. A computer algorithm would be simpler by reducing CM to DCCC but adjusting for human fallibility, allowing for CM + C = M makes things a little easier.
Also note that this method scales to any number of sums, not just adding two numbers together.
Addition in Roman numerals is dead simple: you do it by just bunching symbols together. The only difficulty is subtractive notation, which wasn’t really used in Ancient Rome.
MCMLXVII + LXV
= MCCCCCCCCCLXVII + LXV (canonicalize)
= MCCCCCCCCCLXVIILXV (concatenate)
= MCCCCCCCCCLLXXVVII (sort)
= MCCCCCCCCCLLXXXII (combine, VV => X)
= MCCCCCCCCCCXXXII (... keep combining, LL => C)
= MMXXXII (... C{10} => M, nothing left to combine)
= MMXXXII (optionally, look for ways to re-write with the subtraction rule)- seeing L + L = C and converting CM to M ( basically striking L L and C )
- then V + V = X, ( striking Vs and add an X)
Then write whats left:
MMXXXII
Then try to re-write.