The number 105871 (one hundred five thousand eight hundred seventy-one) is written in Roman numerals as follows: CVDCCCLXXI