extract_fundamental_discriminant(a) writes an integer a that is 0 or
1 modulo 4 as a = D*F^2 with D a fundamental discriminant, returning
the factorizations of D and F as named lists of exponents, as SymPy's
function of the same name.
extract_fundamental_discriminant(a) writes an integer a that is 0 or
1 modulo 4 as a = D*F^2 with D a fundamental discriminant, returning
the factorizations of D and F as named lists of exponents, as SymPy's
function of the same name.