The number 865842 (eight hundred sixty-five thousand eight hundred forty-two) is written in Roman numerals as follows: DCCCLXVDCCCXLII