The number 38717 (thirty-eight thousand seven hundred seventeen) is written in Roman numerals as follows: XXXVIIIDCCXVII