The number 317852 (three hundred seventeen thousand eight hundred fifty-two) is written in Roman numerals as follows: CCCXVIIDCCCLII