I am trying to implement an algorithm for the Generalized Fermat\'s Factorization method.
So far I have this but I don\'t know why it doesn\'t work.
de