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