The number 21671 (twenty-one thousand six hundred seventy-one) is written in Roman numerals as follows: XXIDCLXXI