This chapter covers notes on prime factorization.
Fundamental Theorem of Arithmetic
example. The prime factorization of 45:
primes(45)=(5)(9).=(5)((3)(3)).=51⋅32 We use the notation primes(n) to denote the prime factorization of some integer n.
example. Consider primes(90), primes(135), primes(180), and primes(225):
primes(90)=(5)(18)=(5)((3)(6))=(5)((3)((3)(2)))=51⋅32⋅21 primes(135)=(5)(27)=(5)((3)(9))=(5)((3)((3)(3)))=51⋅33 primes(180)=(90)(2)=((5)(3)(3)(2))(2)=51⋅32⋅22 primes(225)=(45)(5)=((5)(3)(3))(5)=52⋅32 The integers 90, 135, 180, and 225 are each multiples of 45, and they each
contain the prime factorization of 45. We can use the prime factorizations of 12 and 45 to find lcm(12,45). For 12, we have primes(12)=23⋅31. And for 45, we have primes(45)=32⋅51. It follows that the least common multiple is 32⋅32⋅51=180. Thus, we have lcm(12,45)=180. We can verify this by actually laying out the multiples:
× | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 |
---|
12 | 12 | 24 | 36 | 48 | 60 | 72 | 84 | 96 | 108 | 120 | 132 | 144 | 156 | 180 |
45 | 45 | 90 | 135 | 180 | 225 | 270 | 315 | 360 | 405 | 450 | 495 | 540 | 585 | 675 |
For any two positive integers a and b, we can obtain the least common multiple through the product of the maximum exponents of the prime factors a and b:
ablcm(a,b)=p1e1⋅p2e2⋅p3e3…⋅pnen=p1f1⋅p2f2⋅p3f3…⋅pnfn=p1max(e1,f1)⋅p2max(e2,f2)⋅p3max(e3,f3)⋅…⋅pnmax(en,fn) This results from an important theorem in mathematics, called the Fundamental Theorem of Arithmetic (FTA).
fundamental theorem of arithmetic. Let n∈Z:n>1. There are unique prime numbers pi satisfying the relation p1≤p2≤…≤pk with
n=p1n1×p2n2×…pknk=i=1∏kpini, where ni∈Z+.
FTA tells us that we can represent any integer greater than 1 in terms of its prime factors. This also means that we can construct any integer greater than 1 in terms of its primes. It's why primes are often called the building blocks of numbers. For example:
9910001001=33⋅371,=23⋅53,=71⋅111⋅131.