The number 331745 (three hundred thirty-one thousand seven hundred forty-five) is written in Roman numerals as follows: CCCXXXIDCCXLV