The number 862842 (eight hundred sixty-two thousand eight hundred forty-two) is written in Roman numerals as follows: DCCCLXIIDCCCXLII