The number 838542 (eight hundred thirty-eight thousand five hundred forty-two) is written in Roman numerals as follows: DCCCXXXVIIIDXLII