Functions

Shanks’s square forms factorization