The number 21879 (twenty-one thousand eight hundred seventy-nine) is written in Roman numerals as follows: XXIDCCCLXXIX