The number 40531 (forty thousand five hundred thirty-one) is written in Roman numerals as follows: XLDXXXI