The number 842217 (eight hundred forty-two thousand two hundred seventeen) is written in Roman numerals as follows: DCCCXLIICCXVII