The number 5165 (five thousand one hundred sixty-five) is written in Roman numerals as follows: VCLXV