The number 23731 (twenty-three thousand seven hundred thirty-one) is written in Roman numerals as follows: XXIIIDCCXXXI