The number 6871 (six thousand eight hundred seventy-one) is written in Roman numerals as follows: VIDCCCLXXI