Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up congruence solver #1

Open
Mangara opened this issue Aug 13, 2022 · 1 comment
Open

Speed up congruence solver #1

Mangara opened this issue Aug 13, 2022 · 1 comment

Comments

@Mangara
Copy link
Owner

Mangara commented Aug 13, 2022

While congruences can be quickly brute-forced for small n, some of the transformations of even quadratic equations with small coefficients generate congruences with n in the hundred-thousands. In these cases, it would be better to use a faster algorithm.

Even just factoring the modulus, solving the smaller congruences and combining the result may help.

These sources may be helpful:

@Mangara
Copy link
Owner Author

Mangara commented Sep 21, 2022

Once this is done, we can stop skipping test equation 19 ( $42x^2 + 8xy + 15y^2 + 23x + 17y - 4915 = 0$ ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant