Answer: 4
We need to find the value of 1399(mod17).
Since 17 is a prime number and gcd(13,17)=1, we can apply Fermat's Little Theorem:
ap−1≡1(modp)Substituting a=13 and p=17 gives:
1316≡1(mod17)Now, we divide the exponent 99 by 16:
99=16×6+3Using this, we can simplify the expression:
1399=(1316)6×1331399≡(1)6×133(mod17)1399≡133(mod17)To compute 133(mod17) easily, we can use negative residues:
13≡−4(mod17)133≡(−4)3=−64(mod17)Since 17×4=68:
−64≡−64+68=4(mod17)Thus, the value of 1399(mod17) is 4.