The number 842947 (eight hundred forty-two thousand nine hundred forty-seven) is written in Roman numerals as follows: DCCCXLIICMXLVII