Module 5: Basic Number Theory

Total Page:16

File Type:pdf, Size:1020Kb

Module 5: Basic Number Theory Module 5: Basic Number Theory Theme 1: Division b b=a ½6=4 =4 Given two integers, say a and , the quotient may or may not be an integer (e.g., but =5 = ¾:4 ½¾ ). Number theory concerns the former case, and discovers criteria upon which one can decide about divisibility of two integers. 6=¼ a b k More formally, for a we say that divides if there is another integer such that b = ka; jb and we write a . In short: ajb 9 b = ka: ¾Z if and only if k This simple definition leads to many properties of divisibility. For example, let us establish the following lemma. jb ajc aj´b · cµ Lemma 1 If a and ,then . Proof. We give a direct proof. From the definition of divisibility and the hypotheses we know that × there are integers Ø and such that b = Øa; c = ×a: Hence b · c = a´× · ص: · Ø aj´b · cµ Since × is an integer, we prove that . Exercise 5A: Prove the following two facts: jb ajbc c 1. If a ,then for all integers . jb bjc ajc 2. If a and ,then . We already noted that an integer may be or not divisible by another integer. However, when dividing one number by another there is always a quotient and a remainder. More precisely, if a and Õ Ö d are positive integers then there is a unique and such that a = dÕ · Ö Ö<d d ¼; ½;::: ;d ½ where ¼ is a remainder. Observe that the remainder can take only values . 1 Theme 2: Primes Primes numbers occupy very prominent role in number theory. A prime number Ô is an integer ½ greater than ½ that is divisible only by and itself. A number that is not prime is called composite. Example 1: The primes less than ½¼¼ are: ¾; ¿; 5; 7; ½½; ½¿; ½7; ½9 ; ¾¿; ¾9; ¿½ ; ¿7 ; 4½; 4¿ ; 47 ; 5¿; 59; 6½ ; 67; 7½; 7¿ ; 79; 8¿; 89 ; 97: How many primes are there? We first prove that there are infinite number of primes. Theorem 1. There are infinite number of primes. Proof. We provide a proof by contradiction. Actually, it is due to Euclid and it is more than 2000 ¾; ¿; 5;::: ;Ô Ô k years old. Let us assume that there is a finite number of primes, say, k where is the largest prime (there is the largest prime since we assumed there are only finitely many of them). Construct another number Å =¾¡ ¿ ¡ 5 ¡¡¡ Ô ·½ k ¾; ¿; 5;::: ;Ô which is a product of all primes plus one. First, observe that none of the primes k Å ½ can divide Å , since the remainder of dividing by any of the primes is equal to . Since every ½ number, including Å , is divisible by at least two numbers, and itself, there must be another prime, Å ¾; ¿; 5;::: ;Ô possible itself, that is not among the primes k . This contradicts the assumption that ¾; ¿; 5;::: ;Ô k are the only primes. Ò But how many primes are there smaller than Ò,where is a fixed number. This is a very difficult ÐÓg ´Òµ problem that was solved only in the last century. Basically, there are approximately about Ò= ¾5 ½¼¼ ½¼¼= ÐÓg ´½¼¼µ ¾¾ primes smaller than Ò. For example, there are primes smaller than ,and . Primes are important since every integer can be represented as a product of primes. This is known as the Fundamental Theorem of Arithmetics and we will prove it below. Example 2: Observe that ¾ ¾ ½¼¼ = ¾ ¡ ¾ ¡ 5 ¡ 5=¾ 5 ; ¿8½ = ¿ ¡ ½¾7; ¿ 888 = ¾ ¡ ¿ ¡ ¿7: Theorem 2.[Fundamental Theorem of Arithmetics ] Every positive integer can be written uniquely as the product of primes where the prime factors are written in order of increasing size, that is, if Ò is Ô <Ô < ¡¡¡ <Ô ¾ Ñ a natural numbers and ½ are distinct primes, then e e e ½ ¾ Ñ Ò = Ô ¡ Ô ¡¡¡ Ô Ñ ½ ¾ 2 e Ô Ô Ò i i where i are exponents of (i.e., the number of times occurs in the factorization of ). Proof. We give an indirect proof. Let us assume that there are two different prime factorizations of Ò, say e e e ½ ¾ Ñ Ò = Ô ¡ Ô ¡¡¡ Ô Ñ ½ ¾ d d d ½ ¾ Ö Ò = Õ ¡ Õ ¡¡¡ Õ Ö ½ ¾ Õ < ¡¡¡ <Õ Ò Ö where ½ are primes. Since we factorize the same number we must have e e d d e d ½ ¾ ½ ¾ Ñ Ö Ô ¡ Ô ¡¡¡ Ô = Õ ¡ Õ ¡¡¡ Õ : Ñ Ö ½ ¾ ½ ¾ Ô = Õ Ô 6= Õ Ô Õ ;::: ;Õ ½ ½ ½ ½ ½ Ö We first prove that ½ .If ,then can not divide any of the primes (we say Ô Õ ;::: ;Õ Ô Õ ;::: ;Õ ½ Ö ½ ½ Ö that ½ is relatively prime to all ). Indeed, since and are primes, none of them d d d ¾ ½ Ö ¡¡¡ Õ ¡ Õ Ô Ò = Õ equal, then they must be relatively prime. But, then ½ cannot divide which is Ö ¾ ½ e e e ½ ¾ Ñ Ò = Ô Ô = Õ ¡ Ô ¡¡¡ Ô ½ nonsense since . Thus, we must conclude that ½ . Ñ ½ ¾ e = d Ô = Õ ½ ½ ½ Now we prove that ½ provided that we just established above. Again, assume e ½ e <d d = e · h h>¼ Ô ½ ½ ½ contrary that ½ , say , . Then after dividing everything by we obtain ½ d e d h e ¾ ¾ Ö Ñ : ¡ Õ ¡¡¡ Õ = Õ Ô ¡¡¡ Ô Ö ½ Ñ ¾ ¾ Õ But then the right-hand side of the above is divisible by ½ while the left-hand side is not, which is impossible since there is an equality sign between the left-hand side and the right-hand side of the above. This completes the proof. How to find out whether an integer is a prime or not? Unfortunately, there is no fast way of doing it (i.e., there is no efficient algorithm), but one can use some properties of primes and composite numbers to speed up the process. Here is one useful result. Ô Ò Ò Lemma 2.If Ò is a composite integer, then has a prime divisor less than or equal to . d ½ <d <Ò Ò = d ¡ Ö Proof.SinceÒ is a composite integer, it must have a factor such that ,thatis, Ô Ô ½ d> Ò Ö> Ò where Ö> is an integer. Let us now assume contrary that and .Butthen Ô Ô d ¡ Ö> Ò Ò = Ò = dÖ Ò which is the desired contradiction since we assumed that Ò . We must conclude that has at Ô least one divisor not exceeding Ò. This divisor is prime or not. If it is not prime, it must have a Ô prime divisor, which certainly must be smaller than Ò. We can use this lemma, in its contrapositive form, to decide whether Ò is a prime or not. Indeed. Ô Ò Ò the above lemma is equivalent to: if Ò has no prime divisor less than or equal to ,then is a prime number. 3 ½¼7 Example 3: Let us show that ½¼7 is a prime number. If would be composite, then it has had prime Ô ½¼:¿4 ½¼ ¾; ¿; 5 7 ½¼7 divisor smaller than ½¼7 . Primes smaller than are ,and . None of it divides , thus it ½¼7 must be a prime number. There were several attempts to find a systematic way of computing prime numbers. Euclid sug- k ·½µ gested that ´ -st prime can be computed recursively as follows: e = ¾; ½ e = e e ¡¡¡ e ·½: ½ ¾ k ·½ k For example, the first few numbers are e = ¾·½ = ¿; ¾ e = ¾ ¡ ¿·½ = 7; ¿ e = ¾ ¡ ¿ ¡ 7·½=4¿: 4 This is an example of a recurrence that we already encountered in the previous module. All numbers computed so far are primes. But, unfortunately, e =¾¡ ¿ ¡ 7 ¡ 4¿ · ½ = ½8¼7 = ½¿ ¡ ½¿9 5 is not a prime. Ô ½ In the seventeenth century, a French mathematician Marin Marsenne suggested that ¾ is prime provided Ô is prime. Unfortunately, ½½ ¾ ½ = ¾¼47 = ¾¿ ¡ 89: From now on we shall work under the assumption that there is no easy, simple and fast algorithm to compute prime numbers. Theme 3: Greatest Common Divisor Ò Ò Ñ The largest divisor that divides both Ñ and is called the greatest common divisor of and .It Ñ; Òµ is denoted as gcd´ . Formally: Ñ; Òµ:=ÑaÜfk : k jÑ k jÒg: gcd ´ and ¿6 Example 4: What is the greatest common divisor of ¾4 and . One way of finding it is to list all ¿6 divisors of ¾4 and and pick up the largest common to both lists. For example, = f½; ¾; ¿; 4; 6; 8; ½¾; ¾4g ; divisors of ¾4 = f½; ¾; ¿; 4; 6; 9; ½¾; ½8; ¿6 g: divisors of ¿6 4 ; ¿6µ = ½¾ Thus gcd´¾4 . Another, more systematic way is to do prime factorization of both numbers and pick up the largest common factors. In our case, ¿ ¾4 = ¾ ¡ ¿; ¾ ¾ ¿6 = ¾ ¡ ¿ : Thus ¾ gcd ´¾4; ¿6µ = ¾ ¡ ¿=½¾: Generalizing the last example, let a a a ½ ¾ k Ñ = Ô Ô ¡¡¡ Ô ; ½ ¾ k b b b ½ ¾ k Ò = Ô Ô ¡¡¡ Ô ½ ¾ k be prime factorizations with possible zero exponents. Then ÑiÒfa ;b g ÑiÒfa ;b g ÑiÒfa ;b g ½ ½ ¾ ¾ k k gcd ´Ñ; Òµ=Ô Ô ¡¡¡ Ô ½ ¾ k fÜ; Ý g Ü Ý where ÑiÒ is the minimum of and . Indeed, take the last example to see that ÑiÒf¾;¿g ÑiÒf½;¾g gcd ´¾4; ¿6µ = ¾ ¿ : Ò Exercise 5B: Let us define the least common multiple of Ñ and as the smallest positive integer Ò ÐcÑ´Ñ; Òµ ÐcÑ´5; 8µ =4¼ that is divisible by both Ñ and . It is denoted as (e.g., ). Prove that for Ò any positive integers Ñ and Ñ ¡ Ò = gcd´Ñ; Òµ ¡ ÐcÑ´Ñ; Òµ: Ò We need some more definitions. Two integers, say Ñ and , may be composite but the only Ñ Ò common divisor of both is ½. In such a case we say that and are relatively prime. More generally: a ;a ;::: ;a ½ ¾ Definition 1. The integers k are pairwise relatively prime if gcd´a ;a µ=½; 8 ½ i<j k: i j Unlike finding primes, there is an efficient algorithm (a procedure) that finds the greatest common divisor.
Recommended publications
  • The Enigmatic Number E: a History in Verse and Its Uses in the Mathematics Classroom
    To appear in MAA Loci: Convergence The Enigmatic Number e: A History in Verse and Its Uses in the Mathematics Classroom Sarah Glaz Department of Mathematics University of Connecticut Storrs, CT 06269 [email protected] Introduction In this article we present a history of e in verse—an annotated poem: The Enigmatic Number e . The annotation consists of hyperlinks leading to biographies of the mathematicians appearing in the poem, and to explanations of the mathematical notions and ideas presented in the poem. The intention is to celebrate the history of this venerable number in verse, and to put the mathematical ideas connected with it in historical and artistic context. The poem may also be used by educators in any mathematics course in which the number e appears, and those are as varied as e's multifaceted history. The sections following the poem provide suggestions and resources for the use of the poem as a pedagogical tool in a variety of mathematics courses. They also place these suggestions in the context of other efforts made by educators in this direction by briefly outlining the uses of historical mathematical poems for teaching mathematics at high-school and college level. Historical Background The number e is a newcomer to the mathematical pantheon of numbers denoted by letters: it made several indirect appearances in the 17 th and 18 th centuries, and acquired its letter designation only in 1731. Our history of e starts with John Napier (1550-1617) who defined logarithms through a process called dynamical analogy [1]. Napier aimed to simplify multiplication (and in the same time also simplify division and exponentiation), by finding a model which transforms multiplication into addition.
    [Show full text]
  • On the Cohen-Macaulay Modules of Graded Subrings
    TRANSACTIONS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 357, Number 2, Pages 735{756 S 0002-9947(04)03562-7 Article electronically published on April 27, 2004 ON THE COHEN-MACAULAY MODULES OF GRADED SUBRINGS DOUGLAS HANES Abstract. We give several characterizations for the linearity property for a maximal Cohen-Macaulay module over a local or graded ring, as well as proofs of existence in some new cases. In particular, we prove that the existence of such modules is preserved when taking Segre products, as well as when passing to Veronese subrings in low dimensions. The former result even yields new results on the existence of finitely generated maximal Cohen-Macaulay modules over non-Cohen-Macaulay rings. 1. Introduction and definitions The notion of a linear maximal Cohen-Macaulay module over a local ring (R; m) was introduced by Ulrich [17], who gave a simple characterization of the Gorenstein property for a Cohen-Macaulay local ring possessing a maximal Cohen-Macaulay module which is sufficiently close to being linear, as defined below. A maximal Cohen-Macaulay module (abbreviated MCM module)overR is one whose depth is equal to the Krull dimension of the ring R. All modules to be considered in this paper are assumed to be finitely generated. The minimal number of generators of an R-module M, which is equal to the (R=m)-vector space dimension of M=mM, will be denoted throughout by ν(M). In general, the length of a finitely generated Artinian module M is denoted by `(M)(orby`R(M), if it is necessary to specify the ring acting on M).
    [Show full text]
  • Modules and Lie Semialgebras Over Semirings with a Negation Map 3
    MODULES AND LIE SEMIALGEBRAS OVER SEMIRINGS WITH A NEGATION MAP GUY BLACHAR Abstract. In this article, we present the basic definitions of modules and Lie semialgebras over semirings with a negation map. Our main example of a semiring with a negation map is ELT algebras, and some of the results in this article are formulated and proved only in the ELT theory. When dealing with modules, we focus on linearly independent sets and spanning sets. We define a notion of lifting a module with a negation map, similarly to the tropicalization process, and use it to prove several theorems about semirings with a negation map which possess a lift. In the context of Lie semialgebras over semirings with a negation map, we first give basic definitions, and provide parallel constructions to the classical Lie algebras. We prove an ELT version of Cartan’s criterion for semisimplicity, and provide a counterexample for the naive version of the PBW Theorem. Contents Page 0. Introduction 2 0.1. Semirings with a Negation Map 2 0.2. Modules Over Semirings with a Negation Map 3 0.3. Supertropical Algebras 4 0.4. Exploded Layered Tropical Algebras 4 1. Modules over Semirings with a Negation Map 5 1.1. The Surpassing Relation for Modules 6 1.2. Basic Definitions for Modules 7 1.3. -morphisms 9 1.4. Lifting a Module Over a Semiring with a Negation Map 10 1.5. Linearly Independent Sets 13 1.6. d-bases and s-bases 14 1.7. Free Modules over Semirings with a Negation Map 18 2.
    [Show full text]
  • Irreducible Representations of Finite Monoids
    U.U.D.M. Project Report 2019:11 Irreducible representations of finite monoids Christoffer Hindlycke Examensarbete i matematik, 30 hp Handledare: Volodymyr Mazorchuk Examinator: Denis Gaidashev Mars 2019 Department of Mathematics Uppsala University Irreducible representations of finite monoids Christoffer Hindlycke Contents Introduction 2 Theory 3 Finite monoids and their structure . .3 Introductory notions . .3 Cyclic semigroups . .6 Green’s relations . .7 von Neumann regularity . 10 The theory of an idempotent . 11 The five functors Inde, Coinde, Rese,Te and Ne ..................... 11 Idempotents and simple modules . 14 Irreducible representations of a finite monoid . 17 Monoid algebras . 17 Clifford-Munn-Ponizovski˘ıtheory . 20 Application 24 The symmetric inverse monoid . 24 Calculating the irreducible representations of I3 ........................ 25 Appendix: Prerequisite theory 37 Basic definitions . 37 Finite dimensional algebras . 41 Semisimple modules and algebras . 41 Indecomposable modules . 42 An introduction to idempotents . 42 1 Irreducible representations of finite monoids Christoffer Hindlycke Introduction This paper is a literature study of the 2016 book Representation Theory of Finite Monoids by Benjamin Steinberg [3]. As this book contains too much interesting material for a simple master thesis, we have narrowed our attention to chapters 1, 4 and 5. This thesis is divided into three main parts: Theory, Application and Appendix. Within the Theory chapter, we (as the name might suggest) develop the necessary theory to assist with finding irreducible representations of finite monoids. Finite monoids and their structure gives elementary definitions as regards to finite monoids, and expands on the basic theory of their structure. This part corresponds to chapter 1 in [3]. The theory of an idempotent develops just enough theory regarding idempotents to enable us to state a key result, from which the principal result later follows almost immediately.
    [Show full text]
  • Modular Arithmetic
    CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 5 Modular Arithmetic One way to think of modular arithmetic is that it limits numbers to a predefined range f0;1;:::;N ¡ 1g, and wraps around whenever you try to leave this range — like the hand of a clock (where N = 12) or the days of the week (where N = 7). Example: Calculating the day of the week. Suppose that you have mapped the sequence of days of the week (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday) to the sequence of numbers (0;1;2;3;4;5;6) so that Sunday is 0, Monday is 1, etc. Suppose that today is Thursday (=4), and you want to calculate what day of the week will be 10 days from now. Intuitively, the answer is the remainder of 4 + 10 = 14 when divided by 7, that is, 0 —Sunday. In fact, it makes little sense to add a number like 10 in this context, you should probably find its remainder modulo 7, namely 3, and then add this to 4, to find 7, which is 0. What if we want to continue this in 10 day jumps? After 5 such jumps, we would have day 4 + 3 ¢ 5 = 19; which gives 5 modulo 7 (Friday). This example shows that in certain circumstances it makes sense to do arithmetic within the confines of a particular number (7 in this example), that is, to do arithmetic by always finding the remainder of each number modulo 7, say, and repeating this for the results, and so on.
    [Show full text]
  • A Topology for Operator Modules Over W*-Algebras Bojan Magajna
    Journal of Functional AnalysisFU3203 journal of functional analysis 154, 1741 (1998) article no. FU973203 A Topology for Operator Modules over W*-Algebras Bojan Magajna Department of Mathematics, University of Ljubljana, Jadranska 19, Ljubljana 1000, Slovenia E-mail: Bojan.MagajnaÄuni-lj.si Received July 23, 1996; revised February 11, 1997; accepted August 18, 1997 dedicated to professor ivan vidav in honor of his eightieth birthday Given a von Neumann algebra R on a Hilbert space H, the so-called R-topology is introduced into B(H), which is weaker than the norm and stronger than the COREultrastrong operator topology. A right R-submodule X of B(H) is closed in the Metadata, citation and similar papers at core.ac.uk Provided byR Elsevier-topology - Publisher if and Connector only if for each b #B(H) the right ideal, consisting of all a # R such that ba # X, is weak* closed in R. Equivalently, X is closed in the R-topology if and only if for each b #B(H) and each orthogonal family of projections ei in R with the sum 1 the condition bei # X for all i implies that b # X. 1998 Academic Press 1. INTRODUCTION Given a C*-algebra R on a Hilbert space H, a concrete operator right R-module is a subspace X of B(H) (the algebra of all bounded linear operators on H) such that XRX. Such modules can be characterized abstractly as L -matricially normed spaces in the sense of Ruan [21], [11] which are equipped with a completely contractive R-module multi- plication (see [6] and [9]).
    [Show full text]
  • 8.6 Modular Arithmetic
    “mcs” — 2015/5/18 — 1:43 — page 263 — #271 8.6 Modular Arithmetic On the first page of his masterpiece on number theory, Disquisitiones Arithmeticae, Gauss introduced the notion of “congruence.” Now, Gauss is another guy who managed to cough up a half-decent idea every now and then, so let’s take a look at this one. Gauss said that a is congruent to b modulo n iff n .a b/. This is j written a b.mod n/: ⌘ For example: 29 15 .mod 7/ because 7 .29 15/: ⌘ j It’s not useful to allow a modulus n 1, and so we will assume from now on that moduli are greater than 1. There is a close connection between congruences and remainders: Lemma 8.6.1 (Remainder). a b.mod n/ iff rem.a; n/ rem.b; n/: ⌘ D Proof. By the Division Theorem 8.1.4, there exist unique pairs of integers q1;r1 and q2;r2 such that: a q1n r1 D C b q2n r2; D C “mcs” — 2015/5/18 — 1:43 — page 264 — #272 264 Chapter 8 Number Theory where r1;r2 Œ0::n/. Subtracting the second equation from the first gives: 2 a b .q1 q2/n .r1 r2/; D C where r1 r2 is in the interval . n; n/. Now a b.mod n/ if and only if n ⌘ divides the left side of this equation. This is true if and only if n divides the right side, which holds if and only if r1 r2 is a multiple of n.
    [Show full text]
  • On Finite Semifields with a Weak Nucleus and a Designed
    On finite semifields with a weak nucleus and a designed automorphism group A. Pi~nera-Nicol´as∗ I.F. R´uay Abstract Finite nonassociative division algebras S (i.e., finite semifields) with a weak nucleus N ⊆ S as defined by D.E. Knuth in [10] (i.e., satisfying the conditions (ab)c − a(bc) = (ac)b − a(cb) = c(ab) − (ca)b = 0, for all a; b 2 N; c 2 S) and a prefixed automorphism group are considered. In particular, a construction of semifields of order 64 with weak nucleus F4 and a cyclic automorphism group C5 is introduced. This construction is extended to obtain sporadic finite semifields of orders 256 and 512. Keywords: Finite Semifield; Projective planes; Automorphism Group AMS classification: 12K10, 51E35 1 Introduction A finite semifield S is a finite nonassociative division algebra. These rings play an important role in the context of finite geometries since they coordinatize projective semifield planes [7]. They also have applications on coding theory [4, 8, 6], combinatorics and graph theory [13]. During the last few years, computational efforts in order to clasify some of these objects have been made. For instance, the classification of semifields with 64 elements is completely known, [16], as well as those with 243 elements, [17]. However, many questions are open yet: there is not a classification of semifields with 128 or 256 elements, despite of the powerful computers available nowadays. The knowledge of the structure of these concrete semifields can inspire new general constructions, as suggested in [9]. In this sense, the work of Lavrauw and Sheekey [11] gives examples of constructions of semifields which are neither twisted fields nor two-dimensional over a nucleus starting from the classification of semifields with 64 elements.
    [Show full text]
  • Grade 6 Math Circles Fall 2019 - Oct 22/23 Exponentiation
    Faculty of Mathematics Centre for Education in Waterloo, Ontario Mathematics and Computing Grade 6 Math Circles Fall 2019 - Oct 22/23 Exponentiation Multiplication is often thought as repeated addition. Exercise: Evaluate the following using multiplication. 1 + 1 + 1 + 1 + 1 = 7 + 7 + 7 + 7 + 7 + 7 = 9 + 9 + 9 + 9 = Exponentiation is repeated multiplication. Exponentiation is useful in areas like: Computers, Population Increase, Business, Sales, Medicine, Earthquakes An exponent and base looks like the following: 43 The small number written above and to the right of the number is called the . The number underneath the exponent is called the . In the example, 43, the exponent is and the base is . 4 is raised to the third power. An exponent tells us to multiply the base by itself that number of times. In the example above,4 3 = 4 × 4 × 4. Once we write out the multiplication problem, we can easily evaluate the expression. Let's do this for the example we've been working with: 43 = 4 × 4 × 4 43 = 16 × 4 43 = 64 The main reason we use exponents is because it's a shorter way to write out big numbers. For example, we can express the following long expression: 2 × 2 × 2 × 2 × 2 × 2 as2 6 since 2 is being multiplied by itself 6 times. We say 2 is raised to the 6th power. 1 Exercise: Express each of the following using an exponent. 7 × 7 × 7 = 5 × 5 × 5 × 5 × 5 × 5 = 10 × 10 × 10 × 10 = 9 × 9 = 1 × 1 × 1 × 1 × 1 = 8 × 8 × 8 = Exercise: Evaluate.
    [Show full text]
  • 1. Modular Arithmetic
    Modular arithmetic Divisibility Given p ositive numb ers a b if a we can write b aq r 1 for appropriate integers q r such that r a The numb er r is the remainder We say that a divides b or ajb if r and so b aq ie b factors as a times q Primes A numb er is prime if it cant b e factored as a pro duct of two numb ers greater or equal to If a numb er factors ie it is not prime then we say that it is comp osite Exercise Find all prime numb ers smaller than Here are several imp ortant questions How do we determine whether a numb er is prime How do we factor a numb er into primes How can we nd big prime numb ers How many prime numb ers are there Exercise Factor Exercise Show that every numb er is either prime or divisible by a prime numb er Theorem There are innitely many prime numbers Proof Supp ose that there are only nitely many prime numb ers P P 1 n then N P P P is not divisible by any prime hence it do es 1 2 n factor and hence it is a new prime not ˜ Divisibility tricks Recall that a numb er is even if its last digit is divisible by it is divisible by if the sum of its digits is divisible by it is divisible by if its last digit is divisible by etc Why is this Can we nd other divisibility tricks eg for One p ossible explanation Let abc b e a digit numb er so that abc a b c Then abc a b c and this is an integer only if c is an integer abc a b c and this is an integer only if c is an integer abc a b a b c and this is an integer only if a b c is an integer
    [Show full text]
  • Chinese Remainder Theorem
    THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens 1. Introduction The Chinese remainder theorem says we can uniquely solve every pair of congruences having relatively prime moduli. Theorem 1.1. Let m and n be relatively prime positive integers. For all integers a and b, the pair of congruences x ≡ a mod m; x ≡ b mod n has a solution, and this solution is uniquely determined modulo mn. What is important here is that m and n are relatively prime. There are no constraints at all on a and b. Example 1.2. The congruences x ≡ 6 mod 9 and x ≡ 4 mod 11 hold when x = 15, and more generally when x ≡ 15 mod 99, and they do not hold for other x. The modulus 99 is 9 · 11. We will prove the Chinese remainder theorem, including a version for more than two moduli, and see some ways it is applied to study congruences. 2. A proof of the Chinese remainder theorem Proof. First we show there is always a solution. Then we will show it is unique modulo mn. Existence of Solution. To show that the simultaneous congruences x ≡ a mod m; x ≡ b mod n have a common solution in Z, we give two proofs. First proof: Write the first congruence as an equation in Z, say x = a + my for some y 2 Z. Then the second congruence is the same as a + my ≡ b mod n: Subtracting a from both sides, we need to solve for y in (2.1) my ≡ b − a mod n: Since (m; n) = 1, we know m mod n is invertible.
    [Show full text]
  • Meta-Complex Numbers Dual Numbers
    Meta- Complex Numbers Robert Andrews Complex Numbers Meta-Complex Numbers Dual Numbers Split- Complex Robert Andrews Numbers Visualizing Four- Dimensional Surfaces October 29, 2014 Table of Contents Meta- Complex Numbers Robert Andrews 1 Complex Numbers Complex Numbers Dual Numbers 2 Dual Numbers Split- Complex Numbers 3 Split-Complex Numbers Visualizing Four- Dimensional Surfaces 4 Visualizing Four-Dimensional Surfaces Table of Contents Meta- Complex Numbers Robert Andrews 1 Complex Numbers Complex Numbers Dual Numbers 2 Dual Numbers Split- Complex Numbers 3 Split-Complex Numbers Visualizing Four- Dimensional Surfaces 4 Visualizing Four-Dimensional Surfaces Quadratic Equations Meta- Complex Numbers Robert Andrews Recall that the roots of a quadratic equation Complex Numbers 2 Dual ax + bx + c = 0 Numbers Split- are given by the quadratic formula Complex Numbers p 2 Visualizing −b ± b − 4ac Four- x = Dimensional 2a Surfaces The quadratic formula gives the roots of this equation as p x = ± −1 This is a problem! There aren't any real numbers whose square is negative! Quadratic Equations Meta- Complex Numbers Robert Andrews What if we wanted to solve the equation Complex Numbers x2 + 1 = 0? Dual Numbers Split- Complex Numbers Visualizing Four- Dimensional Surfaces This is a problem! There aren't any real numbers whose square is negative! Quadratic Equations Meta- Complex Numbers Robert Andrews What if we wanted to solve the equation Complex Numbers x2 + 1 = 0? Dual Numbers The quadratic formula gives the roots of this equation as Split-
    [Show full text]