The number 138584 (one hundred thirty-eight thousand five hundred eighty-four) is written in Roman numerals as follows: CXXXVIIIDLXXXIV