A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 1038870 can be evenly divided by 1 2 3 5 6 7 9 10 14 15 17 18 21 30 34 35 42 45 51 63 70 85 90 97 102 105 119 126 153 170 194 210 238 255 291 306 315 357 485 510 582 595 630 679 714 765 873 970 1,071 1,190 1,358 1,455 1,530 1,649 1,746 1,785 2,037 2,142 2,910 3,298 3,395 3,570 4,074 4,365 4,947 5,355 6,111 6,790 8,245 8,730 9,894 10,185 10,710 11,543 12,222 14,841 16,490 20,370 23,086 24,735 29,682 30,555 34,629 49,470 57,715 61,110 69,258 74,205 103,887 115,430 148,410 173,145 207,774 346,290 519,435 and 1,038,870, with no remainder.
Since 1,038,870 cannot be divided by just 1 and 1,038,870, it is not a prime number.