The number 313171 (three hundred thirteen thousand one hundred seventy-one) is written in Roman numerals as follows: CCCXIIICLXXI