Elementry Number Theory[1]
Elementry Number Theory[1]
n(n 1)(2n 1)
12 22 32 n2
6
Solution
We observe that
1(1 1)(2 1)
12 1
6
This means that for n 1 , the statement is true.
n(n 1)(2n 1)
12 22 32 n2 ( n 1) 2 ( n 1) 2
6
n(2n 1) 6( n 1)
( n 1)[ ]
6
2n 2 7 n 6)
( n 1)[ ]
6
(n 1)(n 2)(2n 3)
.
6
These show that the statement is true for all positive integers.
Exercises 1.1.4
For example
9 9! 9 8 7 6 5 9 8 7 6
126
4 4!5! 5! 4!
Also observe that
n n
1 , since we have 0! 1
0 n
n n n 1
1 k n
k k 1 k 1
Proof
n n n! n!
k k 1 k !(n k )! (k 1)!(n k 1)!
n! 1 1
= [ ]
(k 1)!(n k )! k n k 1
n! n 1
= [ ]
(k 1)!(n k )! k (n k 1)
(n 1)! n 1
= = .
k !(n k 1)! k 1
(a b)1 a b
(a b) 2 a 2 2ab b 2
(a b)3 a 3 3a 2b 3ab 2 b3
(a b) 4 a 3 4a 3b 6a 2b 2 4ab3 b 4 , ect.
For n 1, we have
n
n
( a b) n a n k b k .
k 0 k
(a b) n 1 a (a b) n b (a b) n
n
n n k 1 k n
n n j j 1
=
k 0 k
a b a b
j 0 j
n
n n k 1 k n
n n k 1 k
= a a
n 1
b a b b n 1
k 1 k k 1 k 1
n
n n
a n 1 [ ] a
( n 1) k k
b b n 1
k 1
k k 1
By Pascal’s rule, we have:
n
n 1 ( n 1) k k
(a b) n 1 a n 1 a b b n 1
k 1 k
n
n 1 ( n 1) k k
= a b .
k 0 k
n k n n r
; nk r 0.
k r r k r
Solution
n k n! k!
( )( )
k r k !(n k )! r !(k r )!
n!
r !(n k )!(k r )!
n! (n r )! n n r
( )( ) .
r !(n r )! (n k )!(k r )! r k r
9. 0 | n, then n 0 . (zero divides only zero).
Proof.
We shall prove for example (2)
To prove (3)
To prove (10)
Solution
For n 1 , we have 22 5 9 , and so the statement is true
Assume the statement is true for n k i.e. 3 | 22k 5 hence for
some integer q , we have 22k 5 3q .
Now
22( k 1) 5 22 k 22 5
22 k (1 3) 5
(22 k 5) 3(22 k )
3q 3(22 k )
3(q 22 k ).
Hence 3 | 22( k 1) 5 as needed.
Thus the statement is true for any n .
Exercises 2.1.3.
Theorem 2.2.1
Examples 2.2.2
2 | 6 , since 6 2 3 0 with q 3, r 0 .
3 | 16 , since 16 3 5 1 with q 5, r 1 .
Examples 2.3.4
Theorem 2.3.6.
Proof.
Let gcd(ma, mb) k , gcd(a, b) d , and we need to prove that
k md .
Example 2.3.8
6 24 18
24 (138 5 24)
6 24 138
6(162 138) 138
6 162 7 138
6 162 7 (3054 18 162)
132 162 7 3054
132(12378 4 3054) 7 3054
132 12378 ( 535) 3054
Thus, we have
6 gcd(12378, 3054) 12378 x 3054 y
That is
a | c as asserted.
Solved Problem 2.3.10.
Proof.
Proof:
Definition 2.4.1
Theorem 2.4.2
1. gcd(99,10!) 9 gcd(11,(10)(8)!) 9 1 9 .
While
(99)(10!) (99)(10!)
lcm(99,10!) (11)10! 11! .
gcd(99,10!) 9
a(a 1) a(a 1)
Now lcm[a, a 1] a(a 1) .
gcd(a, a 1) 1
Indeed,
ax by a[ x0 (b / d )t ] b[ y0 (a / d )t ]
(ax0 by0 ) (ab / d ab / d )t c 0t c
Thus there are infinite numbers of solutions. One for every value
of t .
Corollary 2.5.2.
Examples 3.1.3
2 3 5 7
11 13 17 19
23 29
31 37
41 43 47
53 59
61 67
71 73 79
83 89
97
Solved problems 3.1.6
Also,
7 | 211, for, 211 7(30) 1
11 | 211, for, 211 11(19) 2 .
13 | 211, for, 211 13(16) 3
Definition 3.2.1
Corollary 3.2.3
a 22 33 50 and b 20 32 52 .
Thus