The number 5231 (five thousand two hundred thirty-one) is written in Roman numerals as follows: VCCXXXI