The number 51771 (fifty-one thousand seven hundred seventy-one) is written in Roman numerals as follows: LIDCCLXXI