The number 331017 (three hundred thirty-one thousand seventeen) is written in Roman numerals as follows: CCCXXXIXVII