The number 17873 (seventeen thousand eight hundred seventy-three) is written in Roman numerals as follows: XVIIDCCCLXXIII