Training 18 Congruence of Integers
Training 18 Congruence of Integers
Congruence of Integers
and the process for getting this relation is called division with remainder.
13
14 Lecture 18 Congruence of Integers
Let P be the units digit of a positive integer a, and n be the positive integer power
of a. Then the units digit of an is determined by the units digits of P n , denoted by
U (P n ), and the sequence {U (P n ), n = 1, 2, 3, . . .} follows the following rules:
(I) The sequence takes constant values for P = 0, 1, 5, 6, i.e. U (P n ) does not
change as n changes.
(II) The sequence is periodic with a period 2 for P = 4 or 9.
(III) The sequence is periodic with a period 4 for P = 2, 3, 7, 8.
Examples
x − 1 = k · [2, 3, 4, 5, 7] = 420k.
Example 2. It is known that 2726, 4472, 5054, 6412 have the same remainder
when they are divided by some two digit natural number m. Find the value of
m.
Solution For excluding the effect of the unknown remainder, the three differ-
ences by the four given numbers can be used to replace the original four numbers.
Then
Lecture Notes on Mathematical Olympiad 15
2009 2009
Solution First of all 20052007 ≡ 32007 (mod 7). Since 33 ≡ −1 (mod
7) yields 36 ≡ (33 )2 ≡ 1 (mod 7),
20072009 ≡ 32009 ≡ 3 (mod 6),
it follows that 20072009 = 6k + 3 for some positive integer k. Therefore
2009
20052007 ≡ 36k+3 ≡ 33 ≡ 6 (mod 7).
Thus, the remainder is 6.
Example 7. (SSSMO/1997) Find the smallest positive integer n such that 1000 ≤
n ≤ 1100 and 1111n + 1222n + 1333n + 1444n is divisible by 10.
Solution Here the recursive method is effective. Start from 74 = 2401, then
1. (CHINA/2001) Find the number of positive integer n, such that the remainder
is 7 when 2007 is divided by n.
14
1. Find the last two digits of 1414 .
2. Find the remainder of (25733 + 46)26 when it is divided by 50.
3. (SSSMO(J)/2003) What is the smallest positive integer n > 1 such that 3n
ends with 003?
4. (CHNMOL/1997) There is such a theorem: “If three prime numbers a, b, c >
3 satisfy the relation 2a + 5b = c, then a + b + c is divisible by the integer
n.” What is the maximum value of the possible values of n? Prove your
conclusion.
5. (MOSCOW/1982) Find all the positive integers n, such that n · 2n + 1 is
divisible by 3.