The number 305842 (three hundred five thousand eight hundred forty-two) is written in Roman numerals as follows: CCCVDCCCXLII