Added cout for partial factors found