The number 842558 (eight hundred forty-two thousand five hundred fifty-eight) is written in Roman numerals as follows: DCCCXLIIDLVIII