The number 997872 (nine hundred ninety-seven thousand eight hundred seventy-two) is written in Roman numerals as follows: CMXCVIIDCCCLXXII