The number 1838 (one thousand eight hundred thirty-eight) is written in Roman numerals as follows: MDCCCXXXVIII