The number 21581 (twenty-one thousand five hundred eighty-one) is written in Roman numerals as follows: XXIDLXXXI