The number 46871 (forty-six thousand eight hundred seventy-one) is written in Roman numerals as follows: XLVIDCCCLXXI