The number 877871 (eight hundred seventy-seven thousand eight hundred seventy-one) is written in Roman numerals as follows: DCCCLXXVIIDCCCLXXI