created check for prime factorization of 3 to equal pling

Signed-off-by: Gus King <gusssk@gmail.com>