The number 51864 (fifty-one thousand eight hundred sixty-four) is written in Roman numerals as follows: LIDCCCLXIV