The number 51671 (fifty-one thousand six hundred seventy-one) is written in Roman numerals as follows: LIDCLXXI