The number 45171 (forty-five thousand one hundred seventy-one) is written in Roman numerals as follows: XLVCLXXI