The number 878582 (eight hundred seventy-eight thousand five hundred eighty-two) is written in Roman numerals as follows: DCCCLXXVIIIDLXXXII