The number 21782 (twenty-one thousand seven hundred eighty-two) is written in Roman numerals as follows: XXIDCCLXXXII