The number 317872 (three hundred seventeen thousand eight hundred seventy-two) is written in Roman numerals as follows: CCCXVIIDCCCLXXII