Number Theory
Number Theory
Mathematical
Induction
Hernan Laime Zanga
Literature
Yo YO.
T_
Number Theory
Def. 1. An integer n (n > 1) that has only two positive
divisors n and 1 is called prime. If n > 1 is not prime, we
say that n is composite.
π(10 ) = 1925320391606803968923
23
Number Theory
Theorem 4. (Legendre's formula). Let p1, p2, ..., be the
ps
=n-1+π(√n) ^≤ ^pni^
-1 i≤s +^i
- ^ ^ n ^+...+(-1) ^ n ^
s
pipjpk p1p2...ps
Yo
(‘2”] + ■ [ 7)
n(100) =100 - 1 + 4
/ 100 100
+\23 J+ +... +
2.5
_ ( +2+ 10
\L2 • 3 • 5_ 0
I 100
+ 10 )
2•3•5•7 ... +
3 • 05 7
I = 25
Number Theory
Number Theory
Def. 2. (Least Common Multiple) The least common multiple
of two positive integers a and b is the smallest positive
integer that is divisible by a and b. Let's denote by [a, b].
Proof.
Prop 3. If x and y are real numbers then
max{x, y} + min{x, y} = x + y
Proof.
Number Theory
Theorem 5. For positive integers a and b we have,
[a, b] · (a, b) = a · b
Proof.
Theorem 6. Let b be a positive integer greater than 1.
Then every positive integer n can be uniquely represented
in the following way:
´´ ´ 4 A IAA
Introduction
Example How many zeros does 1000 end in?
Obs. 2. (Facts that help)
It is the same as asking how many times the factor 10
appears in 1000!
´´ ´
Congruence
Def. 3. If a and b are integers, we say that a is congruent to
b modulo m (m > 1) if m|(a - b). We denote this by a ≡
b(mod m). If ∤ (a - b) we will say that a is incongruent to b
modulo m and we denote a ≡ b(mod m).
Proof. By Induction
Congruence
Theorem 9. If a, b, c and m are integers and ac ≡ bc(mod m),
then a ≡ b(mod md ) where d = (c, m).
Yo____1.
Congruence
Def. 5. The set of integers {r1, r2, ..., } is a complete system of
rs
residues modulo m if
1. ri ≡ rj (mod m) for i = j
2. for every integer n there exists a rit such that
n ≡ ri(mod m).
congruence 5x ≡ 2(mod 6) ´´ ´ ´ ´
Linear Congruence
Congruent Solution
Def. 8. The integers that satisfy a given linear congruence
modulo m and m belong to the same residual class.
Example Find the congruent solution of the linear
congruence 5x ≡ 2(mod 6). The only incongruent
solution is 4 = 4 and
4 = {b ∈ Z : 4 ≡ b(mod 6)}
= {-14, -8, -2, 4, 10, 14, 18,...}
= {congruent solutions}
´´ ´ ´ ´
Linear Congruence
How many incongruent solutions are there?
We will first see the existence of solutions for a linear
Diophantine equation.
Def. 9. An equation of the form ax + by = c where a, b and c
are integers, is called a linear Diophantine equation. Theorem
11. Let a and b be integers and d = (a, b). If d ∤ c then the
equation ax + by = c has no integer solution. If d|c, the
equation has infinitely many solutions and if x = x0 and ey = y0
is a particular solution, then all solutions are given by
Proof. T—
´´
The Chinese Remainder Theorem
´´ ´´
Application of linear congruence
Comment 1. Let n = ^ik=0 ai10i be the representation of a
positive integer n in base 10. So n is divisible by 7, 11 or 13.
Proof. We observe that 7 · 11 · 13 = 1001 and
103 = 1000 ≡ -1(mod 1001) we have
(akak-1...a0)10 =ak10k + ak-110k-1 + ... + a110 + a0
=(10 a2 + 10a1 + a0) + 10 (10 a5 + 10a4 + a3) +
(103) (102a8 + 10a7 + ) + ...
2
a6
(a2a1a0) - (a5a4a3) +
10 10
(a8a7a6) 10