The number 21584 (twenty-one thousand five hundred eighty-four) is written in Roman numerals as follows: XXIDLXXXIV