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