The number 5117 (five thousand one hundred seventeen) is written in Roman numerals as follows: VCXVII