The number 317838 (three hundred seventeen thousand eight hundred thirty-eight) is written in Roman numerals as follows: CCCXVIIDCCCXXXVIII