-1

Find an integer $0\leq n<1000$ such that the last three digits of $n^{267}$ are $321$.

I have tried this method:

$n^{267}\equiv 321(\text{ mod }1000)$

So, I break it up into two congruences and thought to apply the Chinese remainder theorem.

$n^{267}\equiv n^3\equiv321\equiv 1(\text{ mod }8)$
$n^{267}\equiv n^{67}\equiv321\equiv 71(\text{ mod }125)$

But it's very hard to solve the above congruences. Therefore, I do suspect that there is another method to solve the above congruence. Please help

Kumar
  • 1,167

2 Answers2

1

Hint: $267 \times 3 = 801 = 1 + \phi(1000)$

Can you take it from here?


If you want a step-by-step approach:

Step 1: Show that $ \gcd(n, 1000) = 1$.

$ $

Step 2: Calculate $ n^{801} \pmod{1000}$ from the given conditions using $ 267 \times 3 = 801$.

$ $

Step 3: Calculate $ n \pmod{1000}$ applying Euler's Theorem

Calvin Lin
  • 68,864
1

To solve $n^{67}\equiv71\bmod125$, note $(n^{67})^3\equiv n \equiv71^3\bmod 125$.

J. W. Tanner
  • 60,406