Method
A prime number is a whole number greater than one with exactly two positive factors. A composite number has at least one other factor.
Decide whether 51 is a prime number.
The digits add to 6, which is divisible by 3. Dividing 51 by 3 gives 17, so 51 has a factor other than 1 and itself.
51 = 3 × 17