The number 145842 (one hundred forty-five thousand eight hundred forty-two) is written in Roman numerals as follows: CXLVDCCCXLII