$x \equiv 5\: mod\: 7^{1000} , \: x \equiv 5\: mod \: 5^{200} $

102 Views Asked by At

I need to solve the above simultaneous congruences, I have been told not to use Euclid's algorithm and that there's a 'trick' but I just can't see it.

Any pointers would be appreciated

3

There are 3 best solutions below

2
On BEST ANSWER

$x = a \mod b$ is the same as saying that $(x - a) | b$. What can you say about $x - 5$ in this case? What numbers are possible for $x - 5$?

0
On

Observe that both $7^{1000}$ and $5^{200}$ divide $x-5$. Also, $gcd(7^{1000},5^{200})=1$.

0
On

$5^{200}$ and $7^{1000}$ divide $x-5$ and are coprime, hence their product also divide $x-5$ so we have that $x=5+k5^{200}7^{1000}$ for $k\in\mathbb{Z}$