The number 317971 (three hundred seventeen thousand nine hundred seventy-one) is written in Roman numerals as follows: CCCXVIICMLXXI