The number 31289 (thirty-one thousand two hundred eighty-nine) is written in Roman numerals as follows: XXXICCLXXXIX