The number 331971 (three hundred thirty-one thousand nine hundred seventy-one) is written in Roman numerals as follows: CCCXXXICMLXXI