Professional Documents
Culture Documents
Problem Solve
Problem Solve
I’ve written this sheet from “theory of numbers(problem solves)” PDF given by sir. The question
numbering on this sheet is not the same as the original sheet. I may not have added some questions
as there were some duplicates. There may be some typing mistakes and/or other mistakes. So, if
there is a mistake, try to solve it by your own judgement. Also, some words may not make sense
as I couldn’t read them from the original text due to low resolution. For any enquiry mail me at:
mehedi12@student.sust.edu
1
2
Various Problem and Solution
When n = 3m + 2,
n o
(3m + 2) (3m + 2)4 − 1
n o
=(3m + 2) 81m4 + 216m3 + 216m2 + 96m + 16 − 1
=3(3m + 2)(27m4 + 72m3 + 72m2 + 32m + 5) which is divisible by 3
3
Question 3. If n is an integer then prove that one of n, n + 2, n + 4 is divisible by 3.
Solution. Given the number n, n + 2, n + 4 when n is an integer, then n must be any one of the form
3m, 3m + 2, 3m + 4.
If n = 3m, the first integer is divisible by 3.
If n = 3m + 2, then n + 4 = 3m + 2 + 4 = 3(m + 2) which is divisible by 3.
If n = 3m + 4, then n + 2 = 3m + 4 + 2 = 3(m + 2) which is divisible by 3.
Hence, if n is an integer then one of n, n + 2 and n + 4 is divisible by 3.
Question 4. Prove that, 32n+1 + 2n+2 is divisible by 7.
Solution. Let T = 32n+1 + 2n+2
For n = 0, T = 3 + 4 = 7 which is divisible by 7.
For n = 1, T = 27 + 8 = 35 which is divisible by 7.
For n = 3, T = 259 which is divisible by 7.
Suppose, for n = 3, T = 32r+1 + 2r+2 = 7q which is divisible by 7.
Thus, for n = r + 1,
T =32(r+1)+2 + 2(r+1)+2
=9 · 32r+1 + 2 · 2r+2
=9 32r+1 + 2r+2 − 7 · 2r+2
=7 · 9q − 7 · 2r+2
=7 9q − 2r+2 which is divisible by 7
Hence, 32n+1 + 2n+2 is divisible by 7.
Question 5. Show that 2n + 1 or 2n − 1 is divisible by 3 according as n is odd or even.
Solution. We know that the product P = (2n + 1) (2n − 1) = 22n − 1 is divisible by 3 for all n.
For n = 0, P = 2 · 0 = 0 is divisible by 3.
For n = 1, P = 3 · 1 = 3 is divisible by 3.
For n = 2, P = 5 · (4 − 1) = 15 is divisible by 3.
Suppose, for n = r, P = (2r + 1) (2r − 1) is divisible by 3. i.e., (2r + 1) (2r − 1) = 3q where q is an
integer.
Then for n = r + 1,
P = 2r+1 + 1 2r+1 − 1
=22(r+1) − 1
=4 22r − 1 + 3
=4 · 3q + 3
=3 (4q + 1) which is divisible by 3
Question 6. Compute φ(210), φ(2187), φ(2000), φ(1026), φ(13912), φ(1981), φ(1350).
Solution.
φ(210) = φ(2 · 5 · 3 · 7)
= φ(2) φ(5) φ(3) φ(7)
=1·4·2·6
= 48
4
φ(2187) = φ(3 · 3 · 3 · 3 · 3 · 3 · 3)
= φ 37
1
=3 1−7
3
= 1458
Question 7. Show that the sum of the integers less than n and prime to it is 12 nφ(n) if n ≥ 2.
Solution. Let x be an integer less than n and prime to it, then n − x is also an integer less than n and
prime to it.
Define the integer by 1, p, q, r, . . . , (n − 1) and their sum by S. Then
S = 1 + p + q + r + · · · + (n − p) + (n − q) + (n − r) + (n − 1)
5
which is the series consisting of φ(n) terms.
Rearranging, we have
S =(n − 1) + (n − r) + (n − q) + (n − p) + · · · + r + q + p + 1
∴ 2S =n + n + n + n + . . . upto φ(n) terms = nφ(n)
1
∴ S = nφ(n)
2
Question 8. Show that the following congruence holds for all integer values of n.
T = 22(r+1) − 1
= 4 · 22r − 1
= 4 22r − 1 + 3
= 3 (4q + 1) which is divisible by 3
Proof. Let a is an even integer, then for any integer values of n, we can write a = 2n.
So,
n o
2n (2n)2 + 11
n o
=2n 4n2 − 1 + 12
=2n(2n + 1)(2n − 1) + 24n
=(2n − 1)(2n)(2n + 1) + 24n
Since, (2n − 1)(2n)(2n + 1) is the multiple of three consecutive integers and hence is divisible by 3! = 6
and 24 is evidently divisible by 6.
Hence, a(a2 + 11) is divisible by 6 for all even values of a.
6
Again, let a is odd integer, then for any integer values of n, we write a = 2n + 1.
So,
n o
(2n + 1) (2n + 1)2 + 11
n o
=(2n + 1) (2n + 1)2 − 12 + 12
=(2n + 1) {(2n + 2)(2n + 1 − 1)} + 12(2n + 1)
=2n(2n + 1)(2n + 2) + 12(2n + 1)
Since, 2n(2n + 1)(2n + 2) is the product of three consecutive integers and hence is divisible by 3! = 6,
again 12(2n + 1) is divisible by 6.
Question 10. Prove that if a is an odd integer, then 24 divides a(a2 − 1) i.e., 24 | a(a2 − 1).
Solution. Let a is an odd integer, then a − 1 and a + 1 are two even integers, hence one of them is
divisible by 2 and the other by 4.
Again, a − 1 a, a + 1 are three consecutive numbers and hence one of them is divisible by 3.
Thus, the product a(a2 − 1) is divisible by 2 · 3 · 4 i.e., a(a2 − 1) is divisible by 24.
Question 11. If a and b are odd integers then show that 8 | (a2 − b2 ).
7
Question 15. If (a, 7) = 1, then prove that a3 + 1 or a3 − 1 is divisible by 7.
a7−1 ≡ 1 (mod 7)
⇒ a6 − 1 ≡ 0 (mod 7)
⇒ (a3 )2 − 1 ≡ 0 (mod 7)
⇒ (a3 + 1)(a3 − 1) ≡ 0 (mod 7)
Hence, a3 + 1 or a3 − 1 is divisible by 7.
Question 16. If (a, p) = 1, (b, p) = 1 then show that ap ≡ bp (mod p) implies that a ≡ b (mod p).
Solution. Since,
Again,
ap ≡ b p (mod p) ⇒ ap − b p ≡ 0 (mod p)
Hence, (1) implies that a ≡ b (mod p).
Question 17. If (a, p) = 1, (b, p) = 1 then show that ap ≡ bp (mod p) implies that a ≡ b (mod p2 ).
Solution. Since,
Again, ap ≡ bp (mod p)
2 2
We have, (ap )p ≡ (bp )p (mod p2 )
⇒ ap ≡ bp (mod p2 )
⇒ a ≡ b (mod p2 )
8
Question 18. If p is a prime of the form 4n + 1, then show that 28! + 233 ≡ 0 (mod 899) i.e., 28! + 233
is divisible by 899.
Solution. Here, 899 = 29 · 31
233 = 8 · 29 + 1
233 = 3 · 7 + 16
∴ 233 ≡ 1 (mod 29) (2)
and
∴ 233 ≡ 16 (mod 31) (3)
Now, by using Wilson’s theorem we have,
Question 19. Prove that 18! + 1 ≡ 0 (mod 437) i.e., 18! + 1 is divisible by 437.
Solution. Here 437 = 19 · 23
Thus, using Wilson’s theorem,
Now, from (7) and (8) we have 18! + 1 ≡ 0 (mod 19 · 23) i.e., 18! + 1 ≡ 0 (mod 437).
9
Question 20. If p is a prime of the form 4n + 1, then (2n)! is a solution of the congruence x2 ≡ −1
(mod p).
Solution. If p is a prime, then by Wilson’s theorem,
We have,
(p − 1)! + 1 ≡ 0 (mod p) (9)
Putting p = 4n + 1 in (9), we get,
(4n)! + 1 ≡ 0 (mod p)
⇒ 4n · (4n − 1) · (4n − 2) . . . (2n + 1) · (2n)! + 1 ≡ 0 (mod p) (10)
Now, p = 4n + 1
∴ 4n + 1 ≡ 0 (mod p)
⇒ 4n ≡ −1 (mod p)
⇒ 4n − 1 ≡ −2 (mod p)
⇒ 4n − 2 ≡ −3 (mod p)
... ... ...
⇒ 4n − (2n − 1) ≡ −2n (mod p)
i.e., 2n + 1 ≡ −2n (mod p)
a7−1 ≡ 1 (mod 7)
⇒ a(a6 − 1) ≡ 0 (mod 7)
Hence the product (a − 1)a(a + 1)(a4 + a2 + 1) is divisible by the product of 6 and 7. That is, a7 − a is
divisible by 42.
10
Question 22. Show that, a36 − 1 is divisible by 33744. If a is prime to 2, 3, 19 and 37.
Solution. Given, (a, 2) = 1, (a, 3) = 1, (a, 19) = 1, and (a, 37) = 1.
By Fermat’s theorem,
a2−1 ≡ 1 (mod 2)
⇒ a36 ≡ 1 (mod 2)
Similarly,
a36 ≡ 1 (mod 3)
a36 ≡ 1 (mod 19)
a36 ≡ 1 (mod 37)
5x ≡ 2 (mod 7)
⇒ 15x ≡ 6 (mod 7)
⇒ x ≡ 6 (mod 7)
11
Hence, the other incongruent solution are given by,
105 2 · 105 3 · 105 4 · 105 5 · 105 6 · 105
x = 14, 14 + , 14 + , 14 + , 14 + , 14 + , 14 +
7 7 7 7 7 7
i.e., x = 14, 29, 44, 59, 74, 89, 104
(c) Here (98, 105) = 7 and 7 ∤ 1 so 98x ≡ 1 (mod 105) has no solution.
Solution.
(a)
Again,
x ≡ 11 (mod 21)
⇒ x ≡ 11 ≡ 2 (mod 3)
x ≡ 11 ≡ 4 (mod 7)
But x ≡ 1 (mod 3)
)
is impossible.
and x ≡ 2 (mod 3)
So the given congruences has no solution.
(b)
x≡2 (mod 3)
x≡2 (mod 4)
x≡5 (mod 13)
Here a1 = 2, a2 = 2, a3 = 5
m1 = 3, m2 = 4, m3 = 15; m = m1 m2 m3 = 156
m
Q1 = 52, Q2 = 39, Q3 = 12; where Qi =
mi
Consider the congruence Qi yi ≡ 1 (mod mi )
12
52y1 ≡ 1 (mod 3)
⇒ y1 ≡ 1 (mod 3)
39y2 ≡ 1 (mod 4)
⇒ − y2 ≡ 1 (mod 4)
Now, X = Q1 y1 a1 + Q2 y2 a2 + Q3 y3 a3
= 104 + 234 + 720
≡ 1058 (mod 156)
≡ 122 (mod 156)
Thus, x = 122 is the least solution and the other solutions are given by x = 22 + 156y.
Question 26. Prove that if a is an even integer, then a(a2 + 20) is divisible by 48.
13
Now,
n o
f (2n + 2) − f (2n) = (2n + 2) (2n + 2)2 + 20 − 2n 4n2 + 20
= 24n2 + 24n + 48
n2 + n + 1
!
= 48
2
= 48k
x2 ≡ −1 (mod 65)
⇒ x2 ≡ −1 + 65 (mod 65)
⇒ (x − 8)(x + 8) ≡ 0 (mod 65)
x ≡ 8 ≡ 3 (mod 5) m1 = 5, m2 = 13, m = 65
x ≡ 8 (mod 13) a1 = 3, a2 = 8
Q1 = 13, Q2 = 5
Therefore,
13y1 ≡ 1 (mod 5)
⇒ y1 ≡ 2 (mod 5)
5y2 ≡ 1 (mod 13)
26y2 − y2 ≡ 5 (mod 13)
⇒ − y2 ≡ 5 (mod 13)
i.e., y2 ≡ 8 (mod 13)
∴ x = 78 + 320 = 398 ≡ 8 (mod 65)
14
Again,
x ≡ −8 ≡ 3 (mod 5) m1 = 5, m2 = 13, m = 65
x ≡ −8 ≡ 5 (mod 13) a1 = 3, a2 = 5
Q1 = 13, Q2 = 5
Consider,
13y1 ≡ 1 (mod 5)
⇒ y1 ≡ 2 (mod 5)
and 5y2 ≡ 1 (mod 13)
y2 ≡ 8 (mod 13)
x2 ≡ −2 (mod 33)
⇒ x2 ≡ −2 (mod 3)
x2 ≡ −2 (mod 11) as (3, 11) = 1 and 3 × 11 = 33
Now,
x2 ≡ −2 (mod 3)
⇒ x2 ≡ 16 (mod 3)
⇒ x ≡ 4 (mod 3)
⇒ x ≡ 1 (mod 3)
Again,
x2 ≡ −2 (mod 11)
⇒ x2 ≡ 9 (mod 11)
⇒ x ≡ 3 (mod 11)
Thus, solving x ≡ 1 (mod 3) and x ≡ 3 (mod 11) by Chinese remainder theorem, we get 8, 14, 19, 25
are the four incongruent roots of x2 ≡ −2 (mod 33).
Question 31. Find the four roots of the congruence x2 ≡ 9 (mod 16)
Solution. Given, x2 ≡ 9 (mod 16)
⇒ x2 ≡ (±3)2 (mod 16)
So, roots of the given congruence are ±3.
The other root is 16 − 3 = 13 of x2 ≡ 9 (mod 16)
15
So, 3, 13 are two roots of the congruence x2 ≡ 9 (mod 16).
Again, Since,
x2 ≡ 9 (mod 16)
∴ x2 ≡ 9 (mod 8)
Now, another roots of the given congruence will be ±3 + 8k where k = 0, 1
For k = 0, x = ±3 + 0 = 3, −3 = 3, 16 − 3 = 3, 13
For k = 1, x = ±3 + 8 = 11, 5
So, x2 ≡ 9 (mod 16)
Therefore, the four roots of the congruence x2 ≡ 9 (mod 16) are 3, 5, 11, 13.
Question 32. If p is a prime of the form 4n + 3, show that (2n + 1)! is a root of the congruence x2 ≡ 1
(mod p)
Solution. Since p is a prime of the form 4n + 3,
We have,
4n + 3 ≡ 0 (mod p)
⇒ − 3 ≡ 4n (mod p)
Now,
− 1 ≡ 4n + 2 (mod p)
− 2 ≡ 4n + 1 (mod p)
− 3 ≡ 4n (mod p)
− 4 ≡ 4n − 1 (mod p)
... ... ...
− (2n + 1) ≡ 4n + {−(2n + 1) + 3} (mod p)
i.e., − (2n + 1) ≡ 2n + 2 (mod p)
Multiplying both sides we get,
(−1)2n+1 {1 · 2 · 3 · . . . (2n + 1)} ≡ (4n + 2)(4n + 1)(4n)(4n − 1) . . . (2n + 2) (mod p)
(4n + 2)(4n + 1)(4n) . . . (2n + 2)(2n + 1)(2n − 1)(2n − 2) . . . 2 · 1
⇒ − (2n + 1)! ≡ (mod p)
(2n + 1) . . . 3 · 2 · 1
⇒ − (2n + 1)!2 ≡ (4n + 2)! (mod p) (12)
Again, since p is a prime of the form 4n + 3, by Wilson’s theorem we have,
(4n + 3 − 1)! + 1 ≡ 0 (mod p)
(4n + 2)! + 1 ≡ 0 (mod p) (13)
From (12) and (13),
− (2n + 1)!2 ≡ −1 (mod p)
⇒ (2n + 1)!2 ≡ 1 (mod p)
∴ x2 ≡ 1 (mod p) where, x = (2n + 1)!
Thus, x = (2n + 1)! is a root of the congruence x2 ≡ −1 (mod p).
16
Question 33. If p is an odd prime and h + k = p − 1 prove that h!k! + (−1)h ≡ 0 (mod p).
Solution. If p is a prime of the form h + k + 1 = p then we can write,
h + k + 1 ≡ 0 (mod p)
h + 1 ≡ −k (mod p)
h + 2 ≡ −(k − 1) (mod p)
h + 3 ≡ −(k − 2) (mod p)
h + 4 ≡ −(k − 3) (mod p)
... ... ...
h + k ≡ −1 (mod p)
(h + k + 1 − 1)! ≡ −1 (mod p)
i.e., (h + k)! ≡ −1 (mod p) (15)
(−1)k h! k! ≡ −1 (mod p)
Question 34. Prove/Find the number of divisors and sum of divisors if a composite number.
Solution.
• The function d(n) is the number of divisors of the composite number n including 1 and n.
• The function σ(n) is the sum of the divisors of the composite number n.
Consider the factorization of the composite number n into primes be n = p1 α1 p2 α2 . . . pr αr where pr α s
are pairwise relatively prime.
Then, the divisors of p1 α1 are 1, p1 , p21 , . . . , p1 α1 .
Therefore, d (p1 α1 ) = α1 + 1 and hence,
i=1
17
p1 α1 +1 −1
Now, sum of the divisors of p1 α1 is 1 + p1 + p21 + · · · + p1 α1 = p1 −1
.
p1 α1 +1 −1
i.e., σ (p1 α1 ) = p1 −1
and therefore,
i=1 pi − 1
Solution.
Left-Hand side.
Suppose that n = pk . Since f (d) is multiplicative function and f (d) denotes the numbers of divisors of
n.
n o3 n o3
{f (d)}3 = {f (1)}3 + {f (p)}3 + f (p2 ) + · · · + f (pk )
X
∴
d/n
= 13 + 23 + 33 + · · · + (k + 1)3
)2
(k + 1)(k + 2)
(
=
2
Right-Hand side.
2
X n o2
∴ f (d) = f (1) + f (p) + f (p2 ) + · · · + f (pk )
d/n
= {1 + 2 + 3 + · · · + (k + 1)}2
)2
(k + 1)(k + 2)
(
=
2
Hence proved.
Solution. We have,
p = a a2 + 20
= a a2 − 4 + 24
= a ((a − 2)(a + 2) + 24)
= (a − 2)(a)(a + 2) + 24a
18
Now, since a is an even number so let a = 2n for any integer n.
Then,
p = (2n − 2)(2n)(2n + 2) + 48a
= 8(n − 1)(n)(n + 1) + 48a
Now, since (n − 1) n (n + 1) is the product of three consecutive integers, so it is divisible by 3! = 6. And
hence 8(n − 1)(n)(n + 1) is divisible by 8 × 6 = 48. Again 48a is —– divisible by 48. Hence, the term
p = a(a2 + 20) is divisible by 48.
Question 37. If n is an odd integer, n(n2 + 1) is divisible by 24.
Solution. Since, n is odd integer so n − 1 and n + 1 are two consecutive integers and hence one of them
is divisible by 2 and the other is divisible by 4.
Again, (n − 1), n, (n + 1) are three consecutive integers so one of them is divisible by 3. Thus, the
given expression is divisible by 2, 3 and 4 and hence by their product 24.
Question 38. Find d (n) and σ (n) for n = 21600.
Solution. Here, n = 21600 = 25 · 33 · 52
i=1
= (5 + 1)(3 + 1)(2 + 1)
= 72
And,
∴ σ (n) = sum of the divisors
3
pi αi +1−1
=
Y
i=1 pi − 1
2 − 1 34 − 1 53 − 1
6
= · ·
2−1 3−1 5−1
= 78120
Question 39. Find the positive integer solution of the linear Diophantine equation 62x + 11y = 788.
Solution. Here, a = 62, b = 11, and c = 788.
Now using Euclid’s algorithm,
62 = 11 · 5 + 7
11 = 7 · 1 + 4
7=4·1+3
4=3·1+1
3=1·3+0
19
Now, (62, 11) = 1 and 1 | 788, so it has a solution.
Now,
1 = 4 + 3 · (−1)
= 4 + (−1) {7 + 4 · (−1)}
= 2 · 4 + (−1) · 7
= 2 {11 + (−1) · 7} + (−1) · 7
= 2 · 11 + (−3) · 7
= 2 · 11 + (−3) {62 + 11 · (−5)}
= 11(17) + 62(−3)
⇒ 62(−2364) + 11(13396) = 788
Now, 214.91 < t < 216.0645 and since t is integer, so we conclude that t = 215 and 216.
Hence, the positive integral solution is
(i) x = 1, y = 66 and
(ii) x = 12, y = 4
i=0
Proof.
α
ϕ pi = ϕ p0 + ϕ (p) + ϕ p1 + · · · + ϕ (pα )
X
i=0
1 1 1
! ! !
= 1 + (p − 1) + p 1 −
2
+ p3 1 − + · · · + pα 1 −
p p p
= 1 + (p − 1) + p (p − 1) + p (p − 1) + · · · + p
2 α−1
(p − 1)
p α−1+1
−1
= 1 + (p − 1)
p−1
=p α
20
Properties of Legendre Symbol
Theorem 0.0.2. If p is an odd prime and (a, p) = 1, (b, p) = 1 then
!
a p−1
(i) ≡a 2 (mod p)
p
! ! !
a b ab
(ii) =
p p p
! !
a b
(iii) a ≡ b (mod p) implies =
p p
ab 1
! ! ! ! !
a2 b −1 p−1
(iv) = 1; = ; = 1, = (−1) 2
p p p p p
2
!
p2 −1
(v) = (−1) 8
p
! !
p q
= (−1)( )( q−1
2 )
p−1
(vi) If p and q are distinct odd prime then 2
q p
231 3 60 20 85 100
Question 40. Find: 1. 2. 3. 4. 5. 6.
997 101 29 7 11 7
Solution.
1. Here 231 and 997 are two distinct odd primes, so
231 997
(−1)( 2 )( 2 )
231−1 997−1
=
997 231
73
= (−1)(115)(498)
231
231
= (−1)(115)(36)
73
12
=
73
Now, by Jacobi symbol, we have
12 1 22 3
!
=
73 73 73 73
1
∴ = 1;
73 !
22
∴ = 1;
73
3 73
(−1)( 2 )( 2 )
3−1 73−1
∴ =
73 3
1
=
3
=1
21
231 12 1 22 3
!
Hence, = = = = 1 · 1 · 1 = 1.
997 73 73 73 73
3 101 2
32 −1
8
2. = (−1)1·50 = = (−1) 8
= (−1) 9 = −1
101 3 3
60 1 22 3 5
!
3. =
29 29 29 29 29
Now,
1
= 1;
29 !
22
= 1;
29
3
= (−1)14·1
29
2
=
3
32 −1
= (−1) 8
= −1
5 29
= (−1)2·14
29 5
4
=
5 !
22
=
5
=1
60
∴ = 1 · 1 · −1 · 1 = −1
29
4.
20 1 22 5
!
=
7 7 7 7
1 22 5 7 2
!
52 −1
= 1, = 1, = (−1)2·3 = = (−1) 8 = −1
7 7 7 5 5
20
∴ = 1 · 1 · −1 = −1.
7
22
5.
85 8
= as x2 ≡ 85 (mod 11) ⇒ x2 ≡ 8 (mod 11)
11 11 !
22 · 2
=
11
2
! !
a2 b b
= as =
11 p p
112 −1
= (−1) 8
= (−1)15
= −1
100 2 72 −1
6. = = (−1) 8 = (−1)6 = 1
7 7
Question 41. Find the values d (1968), d (255), d (111), d (353650), σ (1968), σ (255), σ (111), σ (353650),
µ (25), µ (235), µ (300).
Solution. Here,
1968 = 3 · 42 · 41 = 24 · 31 · 411
255 = 3 · 5 · 17
111 = 3 · 37
353650 = 2 · 52 · 11 · 643
25 = 52
235 = 5 · 47
300 = 3 · 4 · 52 = 22 · 31 · 52
23
∴ d (1968) = d 24 · 31 · 411 = (1 + 1)(4 + 1)(1 + 1) = 20
∴ d (255) = d (3 · 5 · 13) = (1 + 1)(1 + 1)(1 + 1) = 8
∴ d (111) = d (3 · 37) = 4
∴ d (353650) = d 2 · 52 · 11 · 643 = (1 + 1)(2 + 1)(1 + 1)(1 + 1) = 24
3
−1
pαi i +1
∴ σ (353650) = σ 2 · 3 · 41
4 1 1
=
Y
i=1 pi − 1
3 −1 2 −1 411+1 − 1
! ! !
1+1 4+1
=
3−1 2−1 41 − 1
8 1680
= · 31 · = 5208
2 40
32 − 1 52 − 1 172 − 1
! ! !
∴ σ (255) = σ (3 · 5 · 17) = = 432
3−1 5−1 17 − 1
32 − 1 372 − 1
! !
∴ σ (111) = σ (3 · 37) = = 152
3−1 37 − 1
23 − 1 53 − 1 112 − 1 6432 − 1
! ! ! !
∴ σ (353650) = σ 2 · 5 · 11 · 643 =
2
= 1676976
2−1 5−1 11 − 1 643 − 1
∴ µ (25) = µ 52 = 0 as µ (n) = 0 if a2 | n where a > 1
∴ µ (235) = µ (5 · 47) = (−1)2 = 1
∴ µ (300) = µ 22 · 3 · 52 = (−1)3 = −1
Question 42 (T-3). Find the positive integral solution of the linear Diophantine equation 20x+7y = 30.
Solution. Here, a = 20, b = 7, c = 30
Then applying Euclid’s algorithm, we get
20 = 7 · 2 + 6
7=6·1+1
6=1·6+0
24
The positive integral solution is given by the system of inequalities
− 30 + 7t > 0
90 − 20t > 0
⇒ t > 4.28 and t < 4.5
Hence, 4.28 < t < 4.5 ⇒ t = 4 as t is an integer or t = 5
(i) x = −30 + 7 · 4 = −2 and y = 70 − 20 · 4 = 10
(ii) x = 5 and y = −10
Hence, there is no positive integral solution of the given linear Diophantine equation.
Question 43. Show that 32n − 32n2 + 24n − 1 = M (5/2)
Question 44. Solve the congruence 7x ≡ 15 (mod 40)
Question 45 (100E). Solve
x ≡ 7 (mod 30)
x ≡ 25 (mod 42)
x ≡ 37 (mod 45)
Solution. Alternative method except Chinese Remainder method:
x ≡ 7 (mod 30) (16)
x ≡ 25 (mod 42) (17)
x ≡ 37 (mod 45) (18)
From (16),
x = 7 + 30t (19)
where t is integer and putting this in (17) we get,
7 + 30t ≡ 25 (mod 42)
⇒ 30t ≡ 25 − 7 (mod 42)
30 42
⇒ 30t ≡ 18 (mod 42) (30, 42) = 6, ∴ , =1
6 6
⇒ 5t ≡ 3 (mod 7)
⇒ t ≡ 2 (mod 7)
Now, t = 2 + 7u, u is any integer and putting in (19) we get
x = 7 + 30(2 + 7u) = 67 + 210u
Putting this value in (18) we get,
210u ≡ −30 (mod 45)
⇒ 14u ≡ −2 (mod 3)
⇒ − u ≡ −2 (mod 3) as 144 ≡ −u (mod 3)
⇒ u ≡ 2 (mod 3)
25
Now, u = 2 + 3v, where v is integer
4t ≡ 1 (mod 5)
t≡4 (mod 5)
Now, taking t = 4 + 5u, we have x = 17 + 20u and putting this value in (5)
26
Question 49 (I). Show that the sum of the integers less than n and prime to n is 21 nϕ (n) if n ≥ 2.
Solution. Let x is any integer less than n and prime to n, then n − x is also an integer less than n and
prime to it.1
Denote the integers by 1, p, q, r, . . . and their sum by S; then
S = 1 + p + q + r + · · · + (n − p) + (n − q) + (n − r) + (n − 1)
S = (n − 1) + (n − p) + (n − q) + (n − r) + · · · + r + q + p + 1
∴ 2S = n + n + n + n + . . . upto ϕ (n) terms = nϕ (n)
1
∴ S = nϕ (n)
2
Theorem 0.0.3 (E). The product of any r consecutive (integer) number is divisible by r!.
Proof. Let n be the first number if the r consecutive integers.
Then
n(n + 1)(n + 2) . . . (n + r − 1)
r!
(n + r − 1)(n + r − 2) . . . (n + 2)(n + 1)n(n − 1)!
=
r!(n − 1)!
(n + r − 1)!
=
r!(n − 1)!
= n+r−1
Cr
Which is the number of combination of (n + r − 1) things taken r at a time and to an integer. Hence,
the theorem is complete.
Question 50 (T-1). Show that n5 − n is divisible by 30.
Solution. As 5 is a prime, n5 − n = x(5) = multiple of 5.2
Again, n5 − n = n(n2 + 1)(n + 1)(n − 1) = (n − 1)n(n + 1)(n2 + 1)
Since, (n − 1)n(n + 1) is the product of three consecutive integers so it is divisible by 3! = 6.
Therefore, (n2 + 1) is divisible by 5, and hence n5 − n is divisible by 6 × 5 = 30.
Question 51 (I). Show that n(n + 1)(2n + 1) is divisible by 6.
Solution. In the expression n(n + 1)(2n + 1), n must be of the form 6m, 6m + 1, 6m + 2.
Now,
when n = 6m, n(n + 1)(2n + 1) = 6m(6m + 1)(12m + 1) which is divisible by 6.
when n = 6m + 1, n(n + 1)(2n + 1) = (6m + 1)(6m + 2)(12m + 2 + 1) = (6m + 1)(m + 1)(4m + 1) · 2 · 3
x
z }| {
1
8 = 1, 3, 5, 7
∴ 8−x=8−5=3
∴ (8, 3) = 1
2
x maybe changed to m/M?
27
which is divisible by 6.
when n = 6m + 2, n(n + 1)(2n + 1) = (6m + 2)(6m + 3)(12m + 5) = 3 · 2 · (3m + 1)(2m + 1)(12m + 5)
which is divisible by 6.
28