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