The number 317121 (three hundred seventeen thousand one hundred twenty-one) is written in Roman numerals as follows: CCCXVIICXXI