The number 245842 (two hundred forty-five thousand eight hundred forty-two) is written in Roman numerals as follows: CCXLVDCCCXLII