The number 138042 (one hundred thirty-eight thousand forty-two) is written in Roman numerals as follows: CXXXVIIIXLII