The number 871845 (eight hundred seventy-one thousand eight hundred forty-five) is written in Roman numerals as follows: DCCCLXXIDCCCXLV