The number 831172 (eight hundred thirty-one thousand one hundred seventy-two) is written in Roman numerals as follows: DCCCXXXICLXXII