The number 40591 (forty thousand five hundred ninety-one) is written in Roman numerals as follows: XLDXCI