The number 42171 (forty-two thousand one hundred seventy-one) is written in Roman numerals as follows: XLIICLXXI