A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 789 can be evenly divided by
1, 3, 263 and 789, with no remainder.
Since 789 cannot be divided by just 1 and 789, it
is not a prime number.