The number 317946 (three hundred seventeen thousand nine hundred forty-six) is written in Roman numerals as follows: CCCXVIICMXLVI