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