The number 21845 (twenty-one thousand eight hundred forty-five) is written in Roman numerals as follows: XXIDCCCXLV