The number 842317 (eight hundred forty-two thousand three hundred seventeen) is written in Roman numerals as follows: DCCCXLIICCCXVII