The number 5,040,840 can be evenly divided by 1 2 3 4 5 6 7 8 10 12 14 15 17 20 21 24 28 30 34 35 40 42 51 56 60 68 70 84 85 102 105 119 120 136 140 168 170 204 210 238 255 280 340 353 357 408 420 476 510 595 680 706 714 840 952 1,020 1,059 1,190 1,412 1,428 1,765 1,785 2,040 2,118 2,380 2,471 2,824 2,856 3,530 3,570 4,236 4,760 4,942 5,295 6,001 7,060 7,140 7,413 8,472 9,884 10,590 12,002 12,355 14,120 14,280 14,826 18,003 19,768 21,180 24,004 24,710 29,652 30,005 36,006 37,065 42,007 42,360 48,008 49,420 59,304 60,010 72,012 74,130 84,014 90,015 98,840 120,020 126,021 144,024 148,260 168,028 180,030 210,035 240,040 252,042 296,520 336,056 360,060 420,070 504,084 630,105 720,120 840,140 1,008,168 1,260,210 1,680,280 2,520,420 and 5,040,840, with no remainder.
Since 5,040,840 cannot be divided by just 1 and 5,040,840, it is a composite number.