The number 871021 (eight hundred seventy-one thousand twenty-one) is written in Roman numerals as follows: DCCCLXXIXXI