First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

Finding the roots of a polynomial mod a composite number in Python

I am looking for a way to solve 3rd and 4th degree polynomials from Python (actually Python 3) using Sage. The polynomials are not square-free and the modulo can be a composite number. How do I do that? Help would be appreciated.

click to hide/show revision 2
retagged

updated 0 years ago

FrédéricC gravatar image

Finding the roots of a polynomial mod a composite number in Python

I am looking for a way to solve 3rd and 4th degree polynomials from Python (actually Python 3) using Sage. The polynomials are not square-free and the modulo can be a composite number. How do I do that? Help would be appreciated.