The number 21517 (twenty-one thousand five hundred seventeen) is written in Roman numerals as follows: XXIDXVII