The number 842874 (eight hundred forty-two thousand eight hundred seventy-four) is written in Roman numerals as follows: DCCCXLIIDCCCLXXIV