| Watson Ladd on Wed, 04 Jun 2025 00:52:49 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: finding primes modulo which x^m mod f(x) has a prescribed result |
On Tue, Jun 3, 2025 at 9:03 AM Max Alekseyev <maxale@gmail.com> wrote: > > Hello, > > Suppose I have a large number m, a quadratic polynomial f(x) and linear polynomial g(x). > Is there a fast way to find all primes p such that the remainder of division of (x^m - g(x)) by f(x) vanishes modulo p ? > To give a specific example, let m = 10^10, f(x) = x^2 - 3*x - 3, and g(x) = x - 4. You are probably best off constructing Z[x]/f(x), going to the relevant number field (Q adjoin the discriminant) than explicitly considering the primes that divide the norm of x^m-g(x) as candidates. It takes a bit of theory to figure out exactly what the next step is, but shouldn't be that tricky. Sincerely, Watson > > Thanks, > Max > > -- Astra mortemque praestare gradatim