The number 5164 (five thousand one hundred sixty-four) is written in Roman numerals as follows: VCLXIV