The number 41731 (forty-one thousand seven hundred thirty-one) is written in Roman numerals as follows: XLIDCCXXXI