The number 5787 (five thousand seven hundred eighty-seven) is written in Roman numerals as follows: VDCCLXXXVII