The number 842731 (eight hundred forty-two thousand seven hundred thirty-one) is written in Roman numerals as follows: DCCCXLIIDCCXXXI