The number 3181 (three thousand one hundred eighty-one) is written in Roman numerals as follows: MMMCLXXXI