The number 171004 (one hundred seventy-one thousand four) is written in Roman numerals as follows: CLXXIIV