The number 166823 (one hundred sixty-six thousand eight hundred twenty-three) is written in Roman numerals as follows: CLXVIDCCCXXIII