The number 831878 (eight hundred thirty-one thousand eight hundred seventy-eight) is written in Roman numerals as follows: DCCCXXXIDCCCLXXVIII