The number 21749 (twenty-one thousand seven hundred forty-nine) is written in Roman numerals as follows: XXIDCCXLIX