The number 21837 (twenty-one thousand eight hundred thirty-seven) is written in Roman numerals as follows: XXIDCCCXXXVII