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