The number 3991 (three thousand nine hundred ninety-one) is written in Roman numerals as follows: MMMCMXCI