A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 840840 can be evenly divided by 1 2 3 4 5 6 7 8 10 11 12 13 14 15 20 21 22 24 26 28 30 33 35 39 40 42 44 49 52 55 56 60 65 66 70 77 78 84 88 91 98 104 105 110 120 130 132 140 143 147 154 156 165 168 182 195 196 210 220 231 245 260 264 273 280 286 294 308 312 330 364 385 390 392 420 429 440 455 462 490 520 539 546 572 588 616 637 660 715 728 735 770 780 840 858 910 924 980 1,001 1,078 1,092 1,144 1,155 1,176 1,274 1,320 1,365 1,430 1,470 1,540 1,560 1,617 1,716 1,820 1,848 1,911 1,960 2,002 2,145 2,156 2,184 2,310 2,548 2,695 2,730 2,860 2,940 3,003 3,080 3,185 3,234 3,432 3,640 3,822 4,004 4,290 4,312 4,620 5,005 5,096 5,390 5,460 5,720 5,880 6,006 6,370 6,468 7,007 7,644 8,008 8,085 8,580 9,240 9,555 10,010 10,780 10,920 12,012 12,740 12,936 14,014 15,015 15,288 16,170 17,160 19,110 20,020 21,021 21,560 24,024 25,480 28,028 30,030 32,340 35,035 38,220 40,040 42,042 56,056 60,060 64,680 70,070 76,440 84,084 105,105 120,120 140,140 168,168 210,210 280,280 420,420 and 840,840, with no remainder.
Since 840,840 cannot be divided by just 1 and 840,840, it is not a prime number.