The number 10171 (ten thousand one hundred seventy-one) is written in Roman numerals as follows: XCLXXI