The number 20838 (twenty thousand eight hundred thirty-eight) is written in Roman numerals as follows: XXDCCCXXXVIII