The number 331838 (three hundred thirty-one thousand eight hundred thirty-eight) is written in Roman numerals as follows: CCCXXXIDCCCXXXVIII