The number 217821 (two hundred seventeen thousand eight hundred twenty-one) is written in Roman numerals as follows: CCXVIIDCCCXXI