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