The number 166864 (one hundred sixty-six thousand eight hundred sixty-four) is written in Roman numerals as follows: CLXVIDCCCLXIV