A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 504000 can be evenly divided by 1 2 3 4 5 6 7 8 9 10 12 14 15 16 18 20 21 24 25 28 30 32 35 36 40 42 45 48 50 56 60 63 64 70 72 75 80 84 90 96 100 105 112 120 125 126 140 144 150 160 168 175 180 192 200 210 224 225 240 250 252 280 288 300 315 320 336 350 360 375 400 420 448 450 480 500 504 525 560 576 600 630 672 700 720 750 800 840 875 900 960 1,000 1,008 1,050 1,120 1,125 1,200 1,260 1,344 1,400 1,440 1,500 1,575 1,600 1,680 1,750 1,800 2,000 2,016 2,100 2,240 2,250 2,400 2,520 2,625 2,800 2,880 3,000 3,150 3,360 3,500 3,600 4,000 4,032 4,200 4,500 4,800 5,040 5,250 5,600 6,000 6,300 6,720 7,000 7,200 7,875 8,000 8,400 9,000 10,080 10,500 11,200 12,000 12,600 14,000 14,400 15,750 16,800 18,000 20,160 21,000 24,000 25,200 28,000 31,500 33,600 36,000 42,000 50,400 56,000 63,000 72,000 84,000 100,800 126,000 168,000 252,000 and 504,000, with no remainder.
Since 504,000 cannot be divided by just 1 and 504,000, it is not a prime number.