A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 877500 can be evenly divided by 1 2 3 4 5 6 9 10 12 13 15 18 20 25 26 27 30 36 39 45 50 52 54 60 65 75 78 90 100 108 117 125 130 135 150 156 180 195 225 234 250 260 270 300 325 351 375 390 450 468 500 540 585 625 650 675 702 750 780 900 975 1,125 1,170 1,250 1,300 1,350 1,404 1,500 1,625 1,755 1,875 1,950 2,250 2,340 2,500 2,700 2,925 3,250 3,375 3,510 3,750 3,900 4,500 4,875 5,625 5,850 6,500 6,750 7,020 7,500 8,125 8,775 9,750 11,250 11,700 13,500 14,625 16,250 16,875 17,550 19,500 22,500 24,375 29,250 32,500 33,750 35,100 43,875 48,750 58,500 67,500 73,125 87,750 97,500 146,250 175,500 219,375 292,500 438,750 and 877,500, with no remainder.
Since 877,500 cannot be divided by just 1 and 877,500, it is not a prime number.