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 2787 has more than two factors, then we can come to the conclusion that 2787 is not a prime number and thus we say that 2787 is a composite number.