The number 317542 (three hundred seventeen thousand five hundred forty-two) is written in Roman numerals as follows: CCCXVIIDXLII