A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 878472 can be evenly divided by 1 2 3 4 6 7 8 9 12 14 18 21 24 27 28 36 42 49 54 56 63 72 83 84 98 108 126 147 166 168 189 196 216 249 252 294 332 378 392 441 498 504 581 588 664 747 756 882 996 1,162 1,176 1,323 1,494 1,512 1,743 1,764 1,992 2,241 2,324 2,646 2,988 3,486 3,528 4,067 4,482 4,648 5,229 5,292 5,976 6,972 8,134 8,964 10,458 10,584 12,201 13,944 15,687 16,268 17,928 20,916 24,402 31,374 32,536 36,603 41,832 48,804 62,748 73,206 97,608 109,809 125,496 146,412 219,618 292,824 439,236 and 878,472, with no remainder.
Since 878,472 cannot be divided by just 1 and 878,472, it is not a prime number.