The number 138047 (one hundred thirty-eight thousand forty-seven) is written in Roman numerals as follows: CXXXVIIIXLVII