The number 945831 (nine hundred forty-five thousand eight hundred thirty-one) is written in Roman numerals as follows: CMXLVDCCCXXXI