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