The number 42791 (forty-two thousand seven hundred ninety-one) is written in Roman numerals as follows: XLIIDCCXCI