Factors of a prime number are just #1# and the number itself. For example #13#, whose factors are just #1# and #13# and none else. Composite number on the other hand may have one or more factors other than #1# and itself.
As #54# has factors #{1,2,3,6,9,18,27,54}# i.e. it has six factors #{2,3,6,9,18,27}#, other than #1# and itself i.e. #54#.