The number 331771 (three hundred thirty-one thousand seven hundred seventy-one) is written in Roman numerals as follows: CCCXXXIDCCLXXI