The number 42845 (forty-two thousand eight hundred forty-five) is written in Roman numerals as follows: XLIIDCCCXLV