The number 291871 (two hundred ninety-one thousand eight hundred seventy-one) is written in Roman numerals as follows: CCXCIDCCCLXXI