The number 317097 (three hundred seventeen thousand ninety-seven) is written in Roman numerals as follows: CCCXVIIXCVII