The number 5821 (five thousand eight hundred twenty-one) is written in Roman numerals as follows: VDCCCXXI