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