The number 138217 (one hundred thirty-eight thousand two hundred seventeen) is written in Roman numerals as follows: CXXXVIIICCXVII