The number 166831 (one hundred sixty-six thousand eight hundred thirty-one) is written in Roman numerals as follows: CLXVIDCCCXXXI