Why does $y^{pq} ≡ y $[mod $pq$] imply $y^{pq} ≡ y [$mod $p$] and $y^{pq} ≡ y [$mod $q$]? $p, q$ prime.

317 Views Asked by At

Why does $y^{pq} ≡ y $[mod $pq$] imply $y^{pq} ≡ y [$mod $p$] and $y^{pq} ≡ y [$mod $q$]?

where $p, q$ prime.

I can't see it from re-writing it as $y^{pq} = y + kpq$ for some integer $k$, as you cannot then divide by p or q.

Instead, re-writing as $y^{pq-1} ≡ 1 $[mod $pq$] gives something like Fermat's Little Theorem. But does this not imply that $y^{pq-1} ≡ 1 [$mod $p$] OR $y^{pq-1} ≡ 1 [$mod $q$]? And then what about $-1$?

2

There are 2 best solutions below

0
On BEST ANSWER

$$y^{pq} \equiv y \pmod{pq} \implies y^{pq}=y+kpq \implies y^{pq}=y+(kq)p \implies y^{pq} \equiv y \pmod p$$

Same logic goes for $q$. Incidentally, we don't need the assumptions that $p$ and $q$ are prime.

0
On

Hint: Since $x\equiv 0\mod pq\Rightarrow x\equiv 0\mod p$ and $x\equiv 0\mod q$ if $p,q$ are primes since say if $p|x$ and $q\not|x$ then $\displaystyle x=kpq\Rightarrow kp=\frac{x}{q}$ which is a contradiction.