The number 977831 (nine hundred seventy-seven thousand eight hundred thirty-one) is written in Roman numerals as follows: CMLXXVIIDCCCXXXI