Let us begin by defining what a prime number is: a prime number is a number that is divisible by only itself and 1. Since we know that 789 has more than two factors, then we can come to the conclusion that 789 is not a prime number and thus we say that 789 is a composite number.