The number 316842 (three hundred sixteen thousand eight hundred forty-two) is written in Roman numerals as follows: CCCXVIDCCCXLII