The number 21784 (twenty-one thousand seven hundred eighty-four) is written in Roman numerals as follows: XXIDCCLXXXIV