The number 217042 (two hundred seventeen thousand forty-two) is written in Roman numerals as follows: CCXVIIXLII