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