The number 317731 (three hundred seventeen thousand seven hundred thirty-one) is written in Roman numerals as follows: CCCXVIIDCCXXXI