The number 878871 (eight hundred seventy-eight thousand eight hundred seventy-one) is written in Roman numerals as follows: DCCCLXXVIIIDCCCLXXI