a doua varianta prime factor