A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 2587230 can be evenly divided by 1 2 3 5 6 9 10 15 17 18 19 30 34 38 45 51 57 85 89 90 95 102 114 153 170 171 178 190 255 267 285 306 323 342 445 510 534 570 646 765 801 855 890 969 1,335 1,513 1,530 1,602 1,615 1,691 1,710 1,938 2,670 2,907 3,026 3,230 3,382 4,005 4,539 4,845 5,073 5,814 7,565 8,010 8,455 9,078 9,690 10,146 13,617 14,535 15,130 15,219 16,910 22,695 25,365 27,234 28,747 29,070 30,438 45,390 50,730 57,494 68,085 76,095 86,241 136,170 143,735 152,190 172,482 258,723 287,470 431,205 517,446 862,410 1,293,615 and 2,587,230, with no remainder.
Since 2,587,230 cannot be divided by just 1 and 2,587,230, it is not a prime number.