The number 166584 (one hundred sixty-six thousand five hundred eighty-four) is written in Roman numerals as follows: CLXVIDLXXXIV