The number 876842 (eight hundred seventy-six thousand eight hundred forty-two) is written in Roman numerals as follows: DCCCLXXVIDCCCXLII