The number 3172 (three thousand one hundred seventy-two) is written in Roman numerals as follows: MMMCLXXII