The number 22731 (twenty-two thousand seven hundred thirty-one) is written in Roman numerals as follows: XXIIDCCXXXI