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