add square root by prime factoring example