Prime numbers are those numbers that have exactly two factors. A number is composite if it is greater than one and has more than two factors.