The number 836842 (eight hundred thirty-six thousand eight hundred forty-two) is written in Roman numerals as follows: DCCCXXXVIDCCCXLII