The number 38517 (thirty-eight thousand five hundred seventeen) is written in Roman numerals as follows: XXXVIIIDXVII