Re: finding primes modulo which x^m mod f(x) has a prescribed result

Watson Ladd <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <CACsn0c=Z9RUsJLOtJd28EF6W8XwRjMEYUESav9UJifcOjsS26A@mail.gmail.com>
On Tue, Jun 3, 2025 at 4:47 PM Max Alekseyev <[email protected]> wrote:
>
> Hi Watson,
> Thanks for the suggestion. Wouldn't computing the norm of x^m-g(x) be tricky here, given the magnitude of m?

Yes, this is a constraint. You may be able to get around this by
considering the Chinese remainder theorem but if the remainder
polynomial has very large coefficients there is not much of a way
around that I can think of.

> Regards,
> Max
>
>
> On Tue, Jun 3, 2025 at 6:52 PM Watson Ladd <[email protected]> wrote:
>>
>> On Tue, Jun 3, 2025 at 9:03 AM Max Alekseyev <[email protected]> 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



-- 
Astra mortemque praestare gradatim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.