The number 31251 (thirty-one thousand two hundred fifty-one) is written in Roman numerals as follows: XXXICCLI