The number 25831 (twenty-five thousand eight hundred thirty-one) is written in Roman numerals as follows: XXVDCCCXXXI