The number 877042 (eight hundred seventy-seven thousand forty-two) is written in Roman numerals as follows: DCCCLXXVIIXLII