The number 217871 (two hundred seventeen thousand eight hundred seventy-one) is written in Roman numerals as follows: CCXVIIDCCCLXXI