The number 21745 (twenty-one thousand seven hundred forty-five) is written in Roman numerals as follows: XXIDCCXLV