The number 166671 (one hundred sixty-six thousand six hundred seventy-one) is written in Roman numerals as follows: CLXVIDCLXXI