The number 25731 (twenty-five thousand seven hundred thirty-one) is written in Roman numerals as follows: XXVDCCXXXI