The number 871840 (eight hundred seventy-one thousand eight hundred forty) is written in Roman numerals as follows: DCCCLXXIDCCCXL