The number 313842 (three hundred thirteen thousand eight hundred forty-two) is written in Roman numerals as follows: CCCXIIIDCCCXLII