The number 877031 (eight hundred seventy-seven thousand thirty-one) is written in Roman numerals as follows: DCCCLXXVIIXXXI