The number 5845 (five thousand eight hundred forty-five) is written in Roman numerals as follows: VDCCCXLV