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