The number 9831 (nine thousand eight hundred thirty-one) is written in Roman numerals as follows: IXDCCCXXXI