The number 317041 (three hundred seventeen thousand forty-one) is written in Roman numerals as follows: CCCXVIIXLI