The number 31151 (thirty-one thousand one hundred fifty-one) is written in Roman numerals as follows: XXXICLI