The number 842242 (eight hundred forty-two thousand two hundred forty-two) is written in Roman numerals as follows: DCCCXLIICCXLII