The number 842872 (eight hundred forty-two thousand eight hundred seventy-two) is written in Roman numerals as follows: DCCCXLIIDCCCLXXII