The number 871042 (eight hundred seventy-one thousand forty-two) is written in Roman numerals as follows: DCCCLXXIXLII