Description:
- Let p∈N and p>2,p is prime if its only positive divisors are 1 and p
- Otherwise, p is composite, there exists a such that 1<a≤p and a∣ptheorem
The fundamental of theorem of arithmetic:
- Every natural number n>1 can be uniquely factored into a product of a sequence of non-decreasing primes, i.e. the unique prime factorizationtheorem
- Euclid theorem: there are infinitely many primestheorem
Prime number theorem:
- Let π(N) be the number of primes ≤N. Then: N→∞limN/lnNπ(N)=1
Relative primality:
- Two positive integers a,b∈N+ are relatively prime (or co-prime) if gcd(a,b)=1
- Two positive integers a,b∈N+ are relatively prime if and only if there exists s,t∈Z such that sa+tb=1theorem
- If a and b are relatively prime and a∣bc, then a∣clemma
Pairwise relatively prime:
- The integers a1,a2,...,an are pairwise relatively prime if gcd(ai,aj)=1 whenever 1≤i<j≤n
- If integers a1,a2,...,an are pairwise relatively prime, then gcd(a1.a2.....ak+1)=1 for all k=1,2,...,n−1lemma
- If integers ai,a2,...,an are pairwise relatively prime, and ak∣m for all k=1,2,...,n and some integer m then a1.a2....an∣mtheorem
- If each of the prime divides m then their product also divides m
Least common multiple:
- The least common multiple of the positive integers a and b is the smallest positive integer that is divisible by both a and b, denoted by lcm(a,b)
- Let a and b be positive integers. Then ab=gcd(a,b)⋅lcm(a,b)theorem
Multiplicative inverse:
- Let a,b∈N+. There exist an element a−1 such that a−1⋅a≡1(modb) if and only if a and b are relatively prime.theorem
- Solutions are not unique, some may not have solution
- Inverse of a modulo
Primality
- If p is prime and pΠi=1nai, then there exist some 1≤j≤n such that p∣ajlemma
- If a prime divides a product of n numbers, then that prime divides at least 1 of the numbers