The number 331842 (three hundred thirty-one thousand eight hundred forty-two) is written in Roman numerals as follows: CCCXXXIDCCCXLII