The number 20821 (twenty thousand eight hundred twenty-one) is written in Roman numerals as follows: XXDCCCXXI