The number 5178 (five thousand one hundred seventy-eight) is written in Roman numerals as follows: VCLXXVIII