The number 240582 (two hundred forty thousand five hundred eighty-two) is written in Roman numerals as follows: CCXLDLXXXII