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