The number 15871 (fifteen thousand eight hundred seventy-one) is written in Roman numerals as follows: XVDCCCLXXI