The number 31979 (thirty-one thousand nine hundred seventy-nine) is written in Roman numerals as follows: XXXICMLXXIX