The number 21717 (twenty-one thousand seven hundred seventeen) is written in Roman numerals as follows: XXIDCCXVII