The number 187831 (one hundred eighty-seven thousand eight hundred thirty-one) is written in Roman numerals as follows: CLXXXVIIDCCCXXXI