The number 5124 (five thousand one hundred twenty-four) is written in Roman numerals as follows: VCXXIV