The number 5147 (five thousand one hundred forty-seven) is written in Roman numerals as follows: VCXLVII