edited by
17,972 views
44 votes
44 votes
The value of the expression $13^{99}\pmod{17}$ in the range $0$ to $16$, is ________.
edited by

11 Answers

10 votes
10 votes
Alternatively,

$13*(13^{2})^{49}(mod \space 17) = 13*169^{49} (mod \space 16) = 13 * (-1)^{49} (mod\space 17) = -13 (mod\space 17) = 4$
7 votes
7 votes

I'm using Extended euclidean algorithm , Ans => 4

Algorithm =>

Computing answer =>

1 votes
1 votes

Modular Arithmetic:

$a \equiv b(mod n)$ (i.e,. a and b leaves same remainder when divided by n), then

$a^k \equiv b^k(mod n)$, where k be any non-negative integer

Division Algorithm: 

$dividend = divisor * quotient + remainder$


Let's find out the number which is modulo congruent to 13

$13 = 17 * 1 + (-4)$ 

Therefore, $13 \equiv (-4)  mod 17$ 

which implies $13^{99} \equiv (-4)^{99} mod 17$ 

$13^{99} \equiv (-4)*((-4)^2)^{49} mod 17$

Value of $16 mod 17 = -1$ which means $16 \equiv -1(modn)$ so that we can replace 16 with -1 in the above which makes our calculation easy

$13^{99} \equiv (-4)*(-1)^{49} mod 17$


$13^{99} \equiv (-4)*(-1)mod 17$ 

$13^{99} \equiv 4 mod 17$

Therefore, the value of $13^{99} mod 17$ is 4


References:


Modular Arithmetic Wikipedia

Answer:

Related questions

50 votes
50 votes
4 answers
3
Akash Kanase asked Feb 12, 2016
17,848 views
The width of the physical address on a machine is $40$ bits. The width of the tag field in a $512$ KB $8$-way set associative cache is ________ bits.
56 votes
56 votes
1 answer
4
Akash Kanase asked Feb 12, 2016
11,155 views
Consider the following database table named water_schemes:$$\overset{\text{Water_schemes}}{\begin{array}{|c|c|c|}\hline\textbf{scheme_no}& \textbf{district_name}& \te...