The number 20866 (twenty thousand eight hundred sixty-six) is written in Roman numerals as follows: XXDCCCLXVI