初等数论学习笔记(持续更新)
这是一个初等数论学习笔记,使用的教材为Gareth A.Jones and J.Mary Jones的 Elementary Number Theory。不是全按照书本上的讲法来的,目前只学到第八章,,,
整理至 THm 5.3,美化页面
发布文章。(整理至 THm 5.1)
NOTE
- 小标号以fjr老师的lecture为准,有跳跃的地方是因为觉得不是很重要所以没有记,可以忽略,,, 大标号按书本划分。
由于是按照我的手写笔记整理的,有的地方思维会有些跳跃。 我就这样/bushi - 大部分未给出证明的地方都是我认为很好理解且显然的;所有仅给出证明links的都是不需要掌握的,感兴趣了解即可。
- 现在正在整理第四章,,,,,,
1. Divisibility
1.1 Divisors
THm 1.1
If with , then there is a unique part of integers and such that and .
pf. The set contains some non-neg integers so has at least one element,for some , say . ■
Def 1.3
If , we say that divides , denoted by . In the case, we also say that is a factor of or is a multiple of . And if b dose not divide a , we write .
Ex 1.4
Every integer divides ; if is a square ,then .
Prop 1.5
If is divisible by , then is divisible by an integer linear combination of .
Def 1.6
If and , then is a common divisor of and , All common divosors are bounded. There is a biggest common divisor of and denoted by .
Lemma 1.7 (Euclid's Algorithm)
If , then , write , using Prop 1.5 , we can repeat this operation and reduce the number to . And is the least common divisor of and . We have .
Remark 1.10: The result extends to any Euclidean ring .
1.2 Bezout's identity
THm 1.11
If , not both , then there exist integers and , s. t. .
pf. using Lemma 1.7 and induction. Start from ■
Ex 1.11
Extend the result to k numbers.
Corollary 1.13
Suppose that , then an integer is of the form for some , iff is a multiple of . In particular, is the least positive integer of such form.
pf. Because and . So . ■
Def 1.14
Two integers and are coprime (or relatively prime) if . More generally a set of integers are coprime if . (If the integers are mutually coprime , then they are collectively coprime)
Corollary 1.15
iff ,for some and .
Corollary 1.16
For , are coprime, we have that if and then ; if , then .
1.3 Least common multiples
Def 1.17
If and , we say is a common multiple of and . The set of all positive common multiple of and is clearly non-empty and bounded below. So there is a unique least common multiple of and , denoted by .
THm 1.18
Lets , then .
1.4 Linear Diophantine equations
THm 1.19 (Application of the Diophantine Equations)
Let with , are not both and let . Then the equation has an integer solution , iff is a multiple of .
In this case, there are infinitely many solution given by where and , is any particular solution.
pf. The existence of solution is guaranteed by Corollary 1.13 . The infinite solutions are easy to verify. ■
2. Prime Numbers
2.1 Prime numbers and prime-power factorisations
Def 2.1
We call a positive integer a prime iff its only positive divisor is itself. (the opposite is called coprime)
Lemma 2.3
If p is a prime and , then must divide some .
Remark: Such a polynomial is reducible if , where and are non-constant polynomials with integer coefficients; otherwise, is irreducible.
2.2 Distribution of primes
THm 2.4 (Fundamental Theorem of Arithmetic)
A number can be factored uniquely as a product of prime powers.
pf. We prove this by contradiction. Suppose the factorization is not unique. Let be the smallest such composite number that can be factored in two different ways.
By Lemma 2.3 , we know that if a prime divides a product of numbers, it must divide at least one of the numbers in the product. Therefore, if , there must be some overlap between the prime factors in these two factorizations.
Without loss of generality, suppose that divides one of the 's. Then, by Lemma 2.3 , we know that must divide some , and we can continue this process recursively to break down into smaller numbers that must still obey the uniqueness of factorization. However, this contradicts the assumption that was the smallest number with two different factorizations.
Thus, the assumption that the factorization of is not unique leads to a contradiction, and we conclude that the factorization must be unique. ■
Remark: If is prime, we write to indicate that is the highest power of dividing , that is, divides but does not. We have that if and then , , .
Lemma 2.5
Suppose that are mutually coprime positive integers. If is an m-th power, then so is each .
pf. Assume that are mutually coprime positive integers, and that their product is an m-th power. That is, there exists an integer such that:
We need to show that each is also an m-th power.
Since are mutually coprime, no pair and share any common prime divisor. Therefore, for any prime that divides , cannot divide any other for .
Now, consider the prime factorization of . Since , every prime factor of must appear to a power that is divisible by . Specifically, if a prime divides , the exponent of in the prime factorization of must be divisible by . Since is coprime with all other 's, the exponent of in the prime factorization of must also be divisible by . Thus, each must be an m-th power. ■
Corollary 2.6
If a positive integer is not a perfect square, then is irrational.
pf. We use contradiction to prove it, assume that is rational, then we have , , where and . So . For m is not a square, the prime factorization of must include at least one prime with an odd exponent. And this creates a contradiction. ■
THm 2.7 (Infinitude of Primes)
There are infinitely many prime numbers.
pf. I just give 3 proofs here.
Euclid's Proof (Contradiction)
- Assume there are finitely many primes: .
- Construct .
- is either prime or divisible by a prime:
- If is prime, it is not in the list.
- If is divisible by a prime , then , a contradiction.
- Thus, primes are infinite.
Proof Using the Fundamental Theorem of Arithmetic
- Every integer has a unique prime factorization.
- Suppose there are only finitely many primes .
- The number of distinct products is finite.
- This contradicts the fact that there are infinitely many integers.
- Hence, primes must be infinite.
Proof Using the Density of Primes
- For any , consider the numbers .
- By the Prime Number Theorem, the number of primes grows approximately as .
- Since as , there are infinitely many primes. ■
THm 2.8 (Dirichlet's Theorem on Arithmetic Progressions)
If and are coprime integers (i.e., ), then there are infinitely many primes of the form .
pf. The proof of Dirichlet's Theorem is highly non-trivial and relies on advanced number theory, so we only prove the case when and .
Suppose that there have only finitely many primes of this form say .
Consider
where c must be an odd integer, if c has prime divisor, it must be of the form or . The integer is not divisible by any of the primes because of its form. So the divisor of can all be writen as , then , this creates a contradiction. ■
THm 2.10 (Prime Number Theorem)
Experiments indicate that is always less than when is small. But Littlewood in 1914 proved that there is a crossover point, when is bigger than it, there is ,and crossovers like this are infinitely many. (It has been proven that the first crossover is before )
note: denotes the number of primes .The above is conjectured by Gans and proven by Hadnard.
pf. See the proof at Newman's proof . ■
THm 2.11 (Riemann Hypothesis)
The heuristic reason for the term is that actually counts powers of primes with weightd by .
Conjecture
, , is equivalent to Riemann Hypithesis.
仅作了解。
2.3 Fermat and Mersenne primes
Lemma 2.12
If is a prime, then for some integer .
pf. If has an odd factor , then , then , which has factor , this contradicts the fact that
is a prime number. ■
Def 2.13
Numbers of the form are called Fermat numbers, and primes of the form are called Fermat prime. Numbers of the form are called Mersenne numbers, and primes of the form are called Mersenne prime.
Lemma 2.14
Different Fermat Numbers are mutually coprime.
pf.
So is coprime with . ■
Remark:
(Gauss–Wantzel theorem)
A number is constructible with a straightedge and compass iff , where 's are Fermat primes.
See the proof at Proof of Gauss-Wantzel Theorem. (A graceful proof!!!)
2.4 Primality-testing and factorisation
Skip, it will be mentioned in the later chapters.
3. Congruences
NOTE
由于这一章的笔记完全没按照小节划分来,所以小节标号就不加了。
似乎从这里开始标号就和书本错开了,,,
今天刷到一篇很有意思的科普,感兴趣的可以看看: 从循环小数到群作用 。
Def 3.1
A binary relation on a set is said to be an equiv relation if it is reflexive( ), symmetric( iff ) and transitive( , ).
The equivalence class of under is defined as . is called a representative of . Clearly iff .
Def 3.2
Let and . We say is congruent to written as if . We denote the equivalence classes modular by .
, , the three modular operqtions are well defined.
abstract algebra
To better understand the following content, we interrupt the note with something about abstract algebra.
Def 3.6 (Group)
A group is a set with a binary operation , satisfying 1 ) Associativity 2 ) Identity 3 ) Inverse. A group is called alelian group if the operation is commutative.
Def 3.7 (Ring)
A ring is a set with two binary relations . Additive structure is an abelian group (with zero element ) A ring satisfying 1 )Associativity 2 ) Distributivity 3 ) (not-necessary) Identity.
Ex. matrix ring, polynomial ring.
abstract algebra end
THm 3.8
under the modular addition and multiplication forms a ring.
Def 3.9
A set of integers containing one representative from each congruence class is called a complete set of residue mod .
Lemma 3.11
For if , then .
Ex 3.13 (failure of Hasse Principle)
The polynormial has no integer roots. But we can see that for each integer , there is a solution for .
Ex 3.14 (Euler's polynormial)
Euler found a remarkable polynormial , is a prime for each . (only 7 lucky numbers of Euler exists : )
THm 3.15
There is no non-constant polynormial with integer coefficient such that assume prime value at each integer .
pf. Suppose that is prime for all and is non-constant.Pick an integer , then and Lemma 3.11 for we have . But is a prime , so in this we get infinitely many s. t. , then has infinitely many zero-point. Obviously there does not exist such . ■
Ex. If , , then can only be a prime or .
THm 3.16
The linear congruence
1 ) has a solution iff divides ( ) , then the general solution is given by .
2 ) Moreover, the slolution have exactly congreuence classes . The representatives are given by .
pf.
1 ) is almost a reformulation of THm 1.19 .
2 ) Suppose is another solution, then there is so there are only congruence classes. ■
Corollary 3.17
If , then the linear congruence has a unique class of solution.
Remark 3.18: This suggests thai if , then we can define division in as the unique class such that .
In particular, forms a group.
Lemma 3.18
(a) If divides and let , then iff .
(b) If , divides ,and let , then iff .
Algorithm 3.19
Solve .
The goal is using Lemma 3.18 to reduce to .
- Step 1 : Calculate (If , then no solution )
- Step 2 : Now divides ,use Lemma 3.18 (a) to replace the original equation by a new congruence . (where )
- Step 3 : Use Lemma 3.18 (b) to replace the previous one by a new congruence (where )
- Step 4 : If , then we have done , otherwise we need to find a such that , replace by , go back to Step 3 and repeat until .
THm 4.1 (Chinese Remainder Theorem)
Let be mutually coprime, and be any integer. Then the solution of the system of congruences form a single congreuence class , where .
pf. Let , is coprime to . Then Corollary 3.17 implies that has a single class of solution. Now let , claim is a particular solution .
If is another solution, then there is for each , then there is . ■
Corollary 4.2
Let be a prime power factorization. Then for any , we have that iff for each .
abstract algebra
To better understand the following content, we interrupt the note with something about abstract algebra.
A diagresion on groups and rings.
Def
Produce of sets
Suppose are groups, define be the set with multiplication given by .
And similarly for the rings.
Def (Homonorphism)
(Group Homonorphism)
(preserve multiplication)
(Ring Homonorphism)
(preserve multiplication and addition)
Remark: If has identity, then has identity and .
Easy Fact: A group homonorphism must preserve identity and inverse.
Def
The kernal of a group homonorphism is
Lemma
A group homonorphism is injective iff .
pf. Suppose not injective, then s.t.
又 , creates contradiction. ■
Remark: More generally, is well defined iff . In this case, the map is a ring homonorphism.
More generally, if are ring homonorphism, then is ring homonorphism.
Def
Group homonorphism is called an isomorphism is and it is a group homonorphism. Then and are equivalent naturally.
abstract algebra end
THm 4.6 (Reformulation of CRT)
Suppose that . Then the map is a ring isomorphism.
pf. The two rings have the same number of elements, so we only need injectivity. . That is, if then each in is injective. ■
Remark: This proof is shorter than no explicit solution to this system of congruence.
(Extension of CRT)
THm 4.7 (Extension to nonlinear cases)
Let , let . If are mutually coprime, and , then the map is bijective.
In particular, .
pf. Since are mutually coprime, iff for . Therefore the map in THm 4.6 is restricts to the class of solution for , which is still bijective. ■
THm 5.1 (Extension to non-coprime cases)
Let be positive integers. Then the solutions of the system has a solution iff divides whenever . In the case, the general solution forms a single congruence class where .
pf. Set . If a solution exists, then , then . Let be any solution, then for any solution we have for each , this is equivalent to .
We remain to show the condition guarantee the existence of a solution. We can replace each congruence by an equivalent set of congruence , where ranges over all the prime power factorization of . We can apply the original CRT to this situation, there is only one congruence for each . Let be the highest power of in all 's. We use the condition that to discard all congruence for . ■
*Suppose that and then , so , so .
4. Congruence with a Prime-power Modulus
4.1 The arithmetic of
THm 5.3 (lagrange)
Let be a prime, and let where for some