Number Theory Concept Through Problems
Number Theory Concept Through Problems
ASSIGNMENT
1. Prove that if an integer n is relatively prime to 10, the 101st power of n ends with the same three
digits as does n. (for example, 1233101 ends with the digits 233, and 37101 ends with the digits 037)
4. Given any 2n – 1 positive integers, prove that there are n of them whose sum is divisible by n for (1)
n = 3; (2) n = 9.
Solutions
1. Prove that if an integer n is relatively prime to 10, the 101st power of n ends with the same three
digits as does n. (for example, 1233101 ends with the digits 233, and 37101 ends with the digits 037)
Sol: Last three digit of n101 and n are same therefore (n101 – n) divisible by 1000.
n(n100 – 1) implies n100 – 1 divisible by 1000.
n can be 10k +1, 10k +3, 10k + 7, 10k+9.
Last three digits of (10k + r)100 =
Last three digits of 100C0 (10k)101 r0 + 100C1 (10k)100 r1 +………….+ 100C98 (10k)2 r98 + 100C99 (10k)1
r99 + 100C100 (10k)0 r100
Last three digits of r100
1100 gives 001
3100 gives (81)25 = (80 + 1)25 which gives 001
7100
gives (2401)25 = (2400 + 1)25 which gives 001
9100 gives (81)50 = (80 + 1)50 which gives 001
Therefore n100 – 1 divisible by 1000.
4. Given any 2n – 1 positive integers, prove that there are n of them whose sum is divisible by n for (1)
n = 3; (2) n = 9.
Sol. (1) When n = 3 then 2n – 1 = 5. Partition the five numbers according to the remainders
modulo 3 into three classes: C0, C1 and C2.
(i) If one of the three classes contains no number, i.e. five numbers are in two classes, by the
pigeonhole principle, there must be one class containing at least 3 numbers, then any three
numbers coming from a same class must have a sum divisible by 3;
(ii) If each class contains at least one number, then no class contains three or more numbers. But
from each class take a number, the three numbers must have a sum divisible by 3.
(2) For n = 9, then 2n – 1 = 17 numbers are given. The result of (1) implies that, from each five
of them three numbers can be selected out such that their sum is divisible by 3, so 5 groups
(n1, n2, n3), (n4, n5, n6), …, (n13, n14, n15) can be obtained sequentially from the 17 numbers,
such that their sums s1, s2, … , s5 are all divisible by 3. Let si = 3mi, i = 1, 2, ….., 5 (where mi
are all positive integers). Then, still from the result of (1), three numbers, say m 1, m2, m3 can
be selected from the five m1 + m2 + m3 = 3k for some positive integer k. Thus,
n1 + n2 + … + n9 = s1 + s2 + s3 = 3(m1 + m2 + m3) = 9k, which is divisible by 9.