print factors for an integer