The number 317991 (three hundred seventeen thousand nine hundred ninety-one) is written in Roman numerals as follows: CCCXVIICMXCI