2
$\begingroup$

Find the remainder when ${{45}^{17}}^{17}$ is divided by $204$

This question came in an examination yesterday and I couldn't solve it. The answer that was given in the solutions booklet stated this:

${{45}^{17}}^{17}$=$17k+11$= $3{k}^{'} +0=4{k}^{"}+1$ .Hence ,the remainder is 45.

I don't really understand anything stated here.

In general,is there anything I can learn for solving such types of problems based on remainders and divisibility?I would really like to learn new ways of solving such problems.

I tried searching the internet, but everything there is either too simple(elementary level) or too complex. I just learned something called the Euler's theorem, but the 2 numbers here are not coprime. :/ EDIT:Is their any way to solve this apart from sing modular arithmetic? Thank You.

$\endgroup$
8
  • $\begingroup$ That makes no sense to me at all... $\endgroup$ Feb 16, 2016 at 6:27
  • $\begingroup$ You mean $x=\left( 45^{17} \right)^{17}$ or $y=45^{\left( 17^{17} \right)}$? Interestingly $(x \mod 204)=(y \mod 204)=45$. $\endgroup$ Feb 16, 2016 at 6:27
  • $\begingroup$ Do you know the Chinese Remainder Theorem? $\endgroup$
    – Claudius
    Feb 16, 2016 at 6:28
  • $\begingroup$ Two separate problems: simplify $x=17^{17} $ and then simplify $45^x $. You could use binary exponentiation modulo 204. $\endgroup$
    – JnxF
    Feb 16, 2016 at 6:29
  • 1
    $\begingroup$ See math.stackexchange.com/questions/1644321/… $\endgroup$ Feb 16, 2016 at 6:31

1 Answer 1

4
$\begingroup$

$204 = 2^2 \times 3 \times 17$. We'll do it separately mod $4$, mod $3$, and mod $17$, and then put the results together using the Chinese remainder theorem.

  1. $45 \equiv 1 \mod 4$, so $45^x \equiv 1 \mod 4$ for any $x$.
  2. $45 \equiv 0 \mod 3$, so $45^x \equiv 0 \mod 3$ for any $x \ge 1$.
  3. $45 \equiv 11 \mod 17$. Now by Fermat's theorem $11^{16} \equiv 1 \mod 17$. Thus if $17^{17} \equiv b \mod 16$, i.e. $17^{17} = b + 16 x$ for some integer $x$, that will mean $11^{17^{17}} = 11^{b + 16 x} \equiv 11^b \mod 17$. In this case, $17 \equiv 1 \mod 16$, so $b = 1$. Thus $45^{17^{17}} \equiv 11 \mod 17$.

Now to put it together: the answer $y$ is congruent to $1 \mod 4$, $0 \mod 3$ and $11 \mod 17$. Start with the $17$: $y = 11 + 17 s$ for some $s$. Thus $1 \equiv y \equiv 3 + s \mod 4$, so $s \equiv 1-3 \equiv 2 \mod 4$. Writing $s = 2 + 4 t$, we have $y = 11 + 34 + 68 t = 45 + 68 t$. Thus $0 \equiv y \equiv 0 + 2 t \mod 3$, so we can take $t = 0$. We conclude that $$ 45^{17^{17}} \equiv 45 \mod 204$$

$\endgroup$
1
  • $\begingroup$ I've just started learning basics of modular arithmetic so I could only understand the first 2 points of your answer.After that things got really complex.Isn't their any alternative way of solving such problems? $\endgroup$ Feb 16, 2016 at 7:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .