The number 21839 (twenty-one thousand eight hundred thirty-nine) is written in Roman numerals as follows: XXIDCCCXXXIX