The number 838042 (eight hundred thirty-eight thousand forty-two) is written in Roman numerals as follows: DCCCXXXVIIIXLII