A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 507150 can be evenly divided by 1 2 3 5 6 7 9 10 14 15 18 21 23 25 30 35 42 45 46 49 50 63 69 70 75 90 98 105 115 126 138 147 150 161 175 207 210 225 230 245 294 315 322 345 350 414 441 450 483 490 525 575 630 690 735 805 882 966 1,035 1,050 1,127 1,150 1,225 1,449 1,470 1,575 1,610 1,725 2,070 2,205 2,254 2,415 2,450 2,898 3,150 3,381 3,450 3,675 4,025 4,410 4,830 5,175 5,635 6,762 7,245 7,350 8,050 10,143 10,350 11,025 11,270 12,075 14,490 16,905 20,286 22,050 24,150 28,175 33,810 36,225 50,715 56,350 72,450 84,525 101,430 169,050 253,575 and 507,150, with no remainder.
Since 507,150 cannot be divided by just 1 and 507,150, it is not a prime number.