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