The number 51171 (fifty-one thousand one hundred seventy-one) is written in Roman numerals as follows: LICLXXI