The number 138771 (one hundred thirty-eight thousand seven hundred seventy-one) is written in Roman numerals as follows: CXXXVIIIDCCLXXI