Lesson Prime numbers and the Fundamental Theorem of Arithmetic
Algebra
->
Divisibility and Prime Numbers
->
Lessons
-> Lesson Prime numbers and the Fundamental Theorem of Arithmetic
Log On
Algebra: Divisibility and Prime Numbers
Section
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'Prime numbers and the Fundamental Theorem of Arithmetic'
This Lesson (Prime numbers and the Fundamental Theorem of Arithmetic)
was created by by
ikleyn(52797)
:
View Source
,
Show
About ikleyn
:
<H2>Prime numbers and the Fundamental Theorem of Arithmetic</H2> A <B>prime number</B> (or <B>prime</B> for short) is a natural number that has exactly two divisors: itself and the number <B>1</B>. Because <B>1</B> has only one divisor, itself, we do not consider it as a prime number. So, <B>2</B> is the first prime, <B>3</B> is the next prime, but <B>4</B> is not a prime because <B>4</B> has three divisors: <B>1, 2</B>, and <B>4</B>. Numbers with more than two divisors are called <B>composite numbers</B>. The first 20 primes are <B>2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67</B>, and <B>71</B>. The first 20 composite numbers are <B>4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 22, 24, 25, 26, 27, 28, 30, 32</B>, and <B>34</B>. The importance of prime numbers is that every natural number can be expressed as the product of primes. For example,<BLOCKQUOTE>{{{4 = 2*2 = 2^2}}}, {{{6 = 2*3}}}, {{{8 = 2*2*2 = 2^3}}}, {{{9 = 3*3 = 3^2}}}, {{{10 = 2*5}}}, {{{12 = 2*2*3 = 2^2*3}}}, {{{14 = 2*7}}}, {{{15 = 3*5}}}, {{{16 = 2*2*2*2 = 2^4}}}, {{{18 = 2*3*3 = 2*3^2}}}, {{{20 = 2*2*5 = 2^2*5}}},</BLOCKQUOTE> and so on ... So, the prime numbers are the building material to construct all natural numbers using multiplication. The <B>Fundamental Theorem of Arithmetic</B> states that <BLOCKQUOTE><B><I>Any natural number (except for 1) can be expressed as the product of primes. For each natural number such an expression is unique.</B></I></BLOCKQUOTE> So, the <B>Fundamental Theorem of Arithmetic</B> consists of two statements. First one says about the possibility of the factorization of any natural number as the product of primes. The second one is about the uniqueness of such a factorization. The proof of the <B>Fundamental Theorem of Arithmetic</B> is in the lesson <A HREF = http://www.algebra.com/algebra/homework/divisibility/Proof-of-Fundamental-Theorem-of-Arithmetic.lesson> Proof of Fundamental Theorem of Arithmetic</A> of this module. Below we discuss the Theorem. You may ask what the uniqueness of the factorization means. Indeed, you can write the number <B>12</B> in two different ways as <B>12 = 2*2*3</B> and <B>12 = 2*3*2</B>. What exactly the uniqueness of the factorization means? The uniqueness of the factorization doesn't mean that the order of primes in the product is unique. It means that the set of participating primes is unique and the index (the multiplicity) of each participating prime is unique in this decomposition. We can reformulate the <B>Fundamental Theorem of Arithmetic</B> saying that <BLOCKQUOTE><B>every natural number N can be expressed as the product of primes {{{N = p[1]^k[1]*p[2]^k[2]* ellipsis *p[n]^k[n]}}}. For given <B>N</B> the set of primes {{{p[1]}}}, {{{p[2]}}}, ... , {{{p[n]}}} and the set of indexes {{{k[1]}}}, {{{k[2]}}}, ... , {{{k[n]}}} are unique</B>.</BLOCKQUOTE> Note that for a given natural number <B>N</B> the prime <B>p</B> participates in its factorization if and only if the prime <B>p</B> divides <B>N</B> (if and only if the prime <B>p</B> is a divisor of <B>N</B>). Now, let us ask ourselves whether the set of prime numbers is finite or infinite? The answer is:<BLOCKQUOTE><B><I>The set of primes is <B>infinite.</B></I></B></BLOCKQUOTE> This fact was just known to ancient Greece mathematicians. A remarkable proof was given by <B>Euclid</B> (third century B.C.) in one of his famous books <B><I>Elements</I></B>. Let us assume that the set of all prime numbers is finite and consists, let say, of <B>n</B> primes {{{p[1]}}}, {{{p[2]}}}, ... , {{{p[n]}}}. Consider the integer number <B>M</B> = {{{p[1]*p[2]* ellipsis *p[n] + 1}}}. This number is greater than <B>1</B> and greater than any of {{{p[i]}}}. The number <B>M</B> is either prime or composite. Let us consider each of these two options. If the number <B>M</B> is prime, then this prime number is out of the list of {{{p[1]}}}, {{{p[2]}}}, ... , {{{p[n]}}}, because it is greater than any of {{{p[i]}}}. This contradicts to our assumption that there is no other primes than {{{p[1]}}}, {{{p[2]}}}, ... {{{p[n]}}}. If the number <B>M</B> is composite, then, according to the <B>Fundamental Theorem of Arithmetic</B>, it can be expressed as the product of primes. Let <B>P</B> is any prime number of this decomposition. Then the prime <B>P</B> is a divisor of the integer <B>M</B>. Therefore, the prime <B>P</B> can not be equal to any of the numbers {{{p[1]}}}, {{{p[2]}}}, ... , {{{p[n]}}}, because no one of integers {{{p[i]}}} divides <B>M</B>. Indeed, if you divide <B>M</B> by any {{{p[i]}}}, you get the remainder equal to <B>1</B>. We again get contradiction to our assumption that there is no other primes than {{{p[1]}}}, {{{p[2]}}}, ... , {{{p[n]}}}. Thus, the assumption that the set of all prime numbers is finite leads us to contradiction. So, we must conclude that the set of prime numbers is infinite. The proof is completed.