The number 51584 (fifty-one thousand five hundred eighty-four) is written in Roman numerals as follows: LIDLXXXIV