The number 40151 (forty thousand one hundred fifty-one) is written in Roman numerals as follows: XLCLI