The number 310172 (three hundred ten thousand one hundred seventy-two) is written in Roman numerals as follows: CCCXCLXXII