The number 138017 (one hundred thirty-eight thousand seventeen) is written in Roman numerals as follows: CXXXVIIIXVII