Asal Sayı Kontrol

Check if a number is prime and find its factors.