The number 17845 (seventeen thousand eight hundred forty-five) is written in Roman numerals as follows: XVIIDCCCXLV