Posted by Adam on Monday, July 30, 2012 at 12:43pm.
13 mod 221 = 13
13^2 mod 221 = 169
13^3 mod 221 = 208
13^4 mod 221 = 52
13^16 mod 221 = 52^4 mod 221 = 52
17 mod 221 = 17
17^2 mod 221 = 68
17^3 mod 221 = 51
17^4 mod 221 = 204
17^12 mod 221 = 204^3 mod 221 = 170
52 + 170 = 222 mod 221 = 1
Hmmm. That's so simple, there must be an easier way to get it.
Since 13 and 17 are relatively prime, we can find a,b such that
13a + 17b = 1
In fact, 13*21 - 17*16 = 1
Now, letting n=13^16 + 17^12,
n = 17^12 mod 13 = 1
n = 13^16 mod 17 = 1
so, n = 13*21 - 16*17 mod 221 = 1 mod 221
Not so sure it's simpler, but it relies more on number theory.
Related Questions
Math - How many integers between 200 and 500 inclusive leave a remainder 1 when ...
Math - How many integers bewteen 200 and 500 inclusive leave a remainder 1 when ...
Math - Find the smallest positive integer that leaves a remainder of 5 when ...
4th grade math - I need help on how to write a mixed number as a fraction 4 9/17...
math - what is the least common positive integer that meets the following ...
math - what is the least common positive integer that meets the following ...
math - (1) 9.6 dividedby 1.2=8 (2) 57.8 divided by 3.4= 17 (3) 2.3 divided by 21...
Math - When 17 is divided by k,where k is a positive integer less than 17,,the ...
Math - Find the least positive integer that leaves the remainder 3 when divided...
maths - f(x)=px^3 + 6x^2 + 12x + q given that the remainder when f(x) is divided...
For Further Reading