The number 40745 (forty thousand seven hundred forty-five) is written in Roman numerals as follows: XLDCCXLV