The number 40841 (forty thousand eight hundred forty-one) is written in Roman numerals as follows: XLDCCCXLI