The number 31491 (thirty-one thousand four hundred ninety-one) is written in Roman numerals as follows: XXXICDXCI