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

Max Alekseyev <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <CAJkPp5MJ5G9y=pGAjnas3-=KsYQKAfoo+-rVPqeS6yX1K-2auA@mail.gmail.com>
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.

Thanks,
Max
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.