The number 842785 (eight hundred forty-two thousand seven hundred eighty-five) is written in Roman numerals as follows: DCCCXLIIDCCLXXXV