The number 21864 (twenty-one thousand eight hundred sixty-four) is written in Roman numerals as follows: XXIDCCCLXIV