The number 917842 (nine hundred seventeen thousand eight hundred forty-two) is written in Roman numerals as follows: CMXVIIDCCCXLII