The number 21738 (twenty-one thousand seven hundred thirty-eight) is written in Roman numerals as follows: XXIDCCXXXVIII