The number 331821 (three hundred thirty-one thousand eight hundred twenty-one) is written in Roman numerals as follows: CCCXXXIDCCCXXI