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