The number 138582 (one hundred thirty-eight thousand five hundred eighty-two) is written in Roman numerals as follows: CXXXVIIIDLXXXII