The number 21504 (twenty-one thousand five hundred four) is written in Roman numerals as follows: XXIDIV