The number 997831 (nine hundred ninety-seven thousand eight hundred thirty-one) is written in Roman numerals as follows: CMXCVIIDCCCXXXI