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