News for hackers. Stuff that matters.
Re:How to Multiply Roman Numerals by nh23423fefe on Tuesday May 10, 2022 @05:04PM (#31332708)
distributive property and rewrite rules

        1 5
        10 50
        100 500
        1000

        i v
        x l
        c d
        m
x moves down, v moves over

        17 * 42 = 
        xvii * xxxxii = 
        x*xxxx + x*ii + v*xxxx + v*ii + ii*xxxx + ii*ii
        cccc + xx + llll + vv + xxxxxxxx + iiii = 
        cccc + llll + xxxxxxxxxx + vv + iiii = 
        cccc + cc + c + x + iiii = 
        ccccccc + x + iiii =
        dccxiiii = 
        714

There are no comments on this comment yet.