The number 838742 (eight hundred thirty-eight thousand seven hundred forty-two) is written in Roman numerals as follows: DCCCXXXVIIIDCCXLII