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