The number 317931 (three hundred seventeen thousand nine hundred thirty-one) is written in Roman numerals as follows: CCCXVIICMXXXI