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