The number 312031 (three hundred twelve thousand thirty-one) is written in Roman numerals as follows: CCCXIIXXXI