The number 2838 (two thousand eight hundred thirty-eight) is written in Roman numerals as follows: MMDCCCXXXVIII