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