A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 781704 can be evenly divided by 1 2 3 4 6 7 8 9 11 12 14 18 21 22 24 27 28 33 36 42 44 47 54 56 63 66 72 77 84 88 94 99 108 126 132 141 154 168 188 189 198 216 231 252 264 282 297 308 329 376 378 396 423 462 504 517 564 594 616 658 693 756 792 846 924 987 1,034 1,128 1,188 1,269 1,316 1,386 1,512 1,551 1,692 1,848 1,974 2,068 2,079 2,376 2,538 2,632 2,772 2,961 3,102 3,384 3,619 3,948 4,136 4,158 4,653 5,076 5,544 5,922 6,204 7,238 7,896 8,316 8,883 9,306 10,152 10,857 11,844 12,408 13,959 14,476 16,632 17,766 18,612 21,714 23,688 27,918 28,952 32,571 35,532 37,224 43,428 55,836 65,142 71,064 86,856 97,713 111,672 130,284 195,426 260,568 390,852 and 781,704, with no remainder.
Since 781,704 cannot be divided by just 1 and 781,704, it is not a prime number.