The number 31145 (thirty-one thousand one hundred forty-five) is written in Roman numerals as follows: XXXICXLV