The number 3117 (three thousand one hundred seventeen) is written in Roman numerals as follows: MMMCXVII