The number 20831 (twenty thousand eight hundred thirty-one) is written in Roman numerals as follows: XXDCCCXXXI