The number 312142 (three hundred twelve thousand one hundred forty-two) is written in Roman numerals as follows: CCCXIICXLII