The number 313031 (three hundred thirteen thousand thirty-one) is written in Roman numerals as follows: CCCXIIIXXXI