The number 987131 (nine hundred eighty-seven thousand one hundred thirty-one) is written in Roman numerals as follows: CMLXXXVIICXXXI