will now display if number is prime or if not display its factors