The number 170871 (one hundred seventy thousand eight hundred seventy-one) is written in Roman numerals as follows: CLXXDCCCLXXI