Math 261 Exercise sheet 2

Similar documents
Foundations of Arithmetic

a b a In case b 0, a being divisible by b is the same as to say that

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

REDUCTION MODULO p. We will prove the reduction modulo p theorem in the general form as given by exercise 4.12, p. 143, of [1].

Problem Solving in Math (Math 43900) Fall 2013

18.781: Solution to Practice Questions for Final Exam

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

arxiv: v6 [math.nt] 23 Aug 2016

Some Consequences. Example of Extended Euclidean Algorithm. The Fundamental Theorem of Arithmetic, II. Characterizing the GCD and LCM

Complex Numbers. x = B B 2 4AC 2A. or x = x = 2 ± 4 4 (1) (5) 2 (1)

International Mathematical Olympiad. Preliminary Selection Contest 2012 Hong Kong. Outline of Solutions

Christian Aebi Collège Calvin, Geneva, Switzerland

(2mn, m 2 n 2, m 2 + n 2 )

LECTURE V. 1. More on the Chinese Remainder Theorem We begin by recalling this theorem, proven in the preceeding lecture.

PRIMES 2015 reading project: Problem set #3

APPENDIX A Some Linear Algebra

THERE ARE NO POINTS OF ORDER 11 ON ELLIPTIC CURVES OVER Q.

Section 8.3 Polar Form of Complex Numbers

Polynomials. 1 What is a polynomial? John Stalker

and problem sheet 2

The Ramanujan-Nagell Theorem: Understanding the Proof By Spencer De Chenne

Bernoulli Numbers and Polynomials

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

2.3 Nilpotent endomorphisms

No-three-in-line problem on a torus: periodicity

Errors for Linear Systems

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

Problem Set 9 Solutions

REAL ANALYSIS I HOMEWORK 1

8.6 The Complex Number System

The internal structure of natural numbers and one method for the definition of large prime numbers

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

Difference Equations

Dirichlet s Theorem In Arithmetic Progressions

FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP

Problem Do any of the following determine homomorphisms from GL n (C) to GL n (C)?

Randomness and Computation

inv lve a journal of mathematics 2008 Vol. 1, No. 1 Divisibility of class numbers of imaginary quadratic function fields

MTH 819 Algebra I S13. Homework 1/ Solutions. 1 if p n b and p n+1 b 0 otherwise ) = 0 if p q or n m. W i = rw i

First day August 1, Problems and Solutions

find (x): given element x, return the canonical element of the set containing x;

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS

Discussion 11 Summary 11/20/2018

2 More examples with details

Basic Number Theory. Instructor: Laszlo Babai Notes by Vincent Lucarelli and the instructor. Last revision: June 11, 2001

Lecture 5 Decoding Binary BCH Codes

Complex Numbers Alpha, Round 1 Test #123

On the irreducibility of a truncated binomial expansion

REGULAR POSITIVE TERNARY QUADRATIC FORMS. 1. Introduction

A combinatorial problem associated with nonograms

Anti-van der Waerden numbers of 3-term arithmetic progressions.

A 2D Bounded Linear Program (H,c) 2D Linear Programming

Expected Value and Variance

Exercises. 18 Algorithms

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem.

Math1110 (Spring 2009) Prelim 3 - Solutions

Some basic inequalities. Definition. Let V be a vector space over the complex numbers. An inner product is given by a function, V V C

arxiv: v1 [math.nt] 12 Sep 2018

THE CLASS NUMBER THEOREM

k(k 1)(k 2)(p 2) 6(p d.

Multiplicative Functions and Möbius Inversion Formula

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Polynomials. 1 More properties of polynomials

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0

( ) 2 ( ) ( ) Problem Set 4 Suggested Solutions. Problem 1

On quasiperfect numbers

Math 217 Fall 2013 Homework 2 Solutions

Homework 9 Solutions. 1. (Exercises from the book, 6 th edition, 6.6, 1-3.) Determine the number of distinct orderings of the letters given:

Linear, affine, and convex sets and hulls In the sequel, unless otherwise specified, X will denote a real vector space.

1 Matrix representations of canonical matrices

On the Divisibility of Binomial Coefficients

Solutions to the 71st William Lowell Putnam Mathematical Competition Saturday, December 4, 2010

For all questions, answer choice E) NOTA" means none of the above answers is correct.

where a is any ideal of R. Lemma 5.4. Let R be a ring. Then X = Spec R is a topological space Moreover the open sets

THE SUMMATION NOTATION Ʃ

Character Degrees of Extensions of PSL 2 (q) and SL 2 (q)

ALGEBRA HW 7 CLAY SHONKWILER

Société de Calcul Mathématique SA

MULTIPLICATIVE FUNCTIONS: A REWRITE OF ANDREWS CHAPTER 6

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

FINITELY-GENERATED MODULES OVER A PRINCIPAL IDEAL DOMAIN

Lecture 10: May 6, 2013

Math 426: Probability MWF 1pm, Gasson 310 Homework 4 Selected Solutions

28 Finitely Generated Abelian Groups

Affine transformations and convexity

Exhaustive Search for the Binary Sequences of Length 2047 and 4095 with Ideal Autocorrelation

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

Polynomial PSet Solutions

= z 20 z n. (k 20) + 4 z k = 4

Linear Feature Engineering 11

UNIT 4 EXTENDING THE NUMBER SYSTEM Lesson 3: Operating with Complex Numbers Instruction

MATH Homework #2

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan 2/21/2008. Notes for Lecture 8

NOTES ON SIMPLIFICATION OF MATRICES

On the Nilpotent Length of Polycyclic Groups

Week 2. This week, we covered operations on sets and cardinality.

Feature Selection: Part 1

Formulas for the Determinant

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.

Transcription:

Math 261 Exercse sheet 2 http://staff.aub.edu.lb/~nm116/teachng/2017/math261/ndex.html Verson: September 25, 2017 Answers are due for Monday 25 September, 11AM. The use of calculators s allowed. Exercse 2.1 Fnd all solutons x, y Z to the followng equatons: 1. 3x + 5y = 2, 2. 18x + 30y = 2016, 3. 18x + 30y = 2017. Soluton 2.1 1. Snce 3 and 5 are coprme, ths equaton has solutons. An obvous one s x = 1, y = 1, and we know that we get all the other ones by addng a multple of 3 5 on one sde, and compensatng on the other sde. So the solutons are exactly the x = 1 + 5t, y = 1 3t (t Z). 2. Ths tme 18 and 30 are not coprme, but ther gcd, whch s 6, dvdes 2016, so we can get an equvalent equaton by dvdng everythng by 6: 3x + 5y = 336. We spot a soluton, for nstance y = 60, x = 12; and the other solutons dffer by multples of 3 5. So fnally the solutons are x = 12 + 5t, y = 60 3t (t Z). 3. Ths tme, gcd(18, 30) = 6 does not dvde 2017, so the equaton has no solutons. 1

Exercse 2.2: The lcm 1. Let I and J be two deals of Z. Apply the defnton of an deal to prove that the ntersecton I J s also an deal of Z. 2. Let a and b be postve ntegers. By the prevous queston, az bz s an deal of Z. Prove that ths deal s not the zero deal. Why does ths mply that there exsts a postve nteger c such that az bz = cz? 3. The nteger c defned n the prevous queston s called the lowest common multple of a and b, and s denoted by lcm(a, b). Explan ths name. 4. Let p 1,, p n be the prmes that dvde ether a or b, so that we may wrte n a = p u, b = wth non-negatve ntegers u 1,, u n and v 1,, v n. Express lcm(a, b) n terms of the p, the u and the v. 5. Deduce that gcd(a, b) lcm(a, b) = ab. Remark: Ths means that t s possble to compute the lcm by computng the gcd through the Eucldan algorthm. When a and b are large, ths s much more effcent than computng the factorzaton of a and b. Soluton 2.2: 1. We know that every deal of Z contans at least 0. So 0 I, and 0 J, so that 0 I J; as a result, I J s not empty. Let x and y be elements of I J. Then snce x and y are n I, x + y s n I; smlarly, snce x and y are n J, x + y s also n J. So x + y I J. Fnally, let n Z, and let x I J. Then nx I, and nx J, so nx I J. Ths shows that I J s an deal of Z. 2. We have ab az bz, so az bz {0}. Snce every deal of Z s of the form cz for some c Z, and snce az bz s an deal by the prevous queston, there exsts c Z such that az bz = cz. But snce ab az bz, we cannot have c = 0, and snce cz = ( c)z, we may assume that c > 0. 3. Clearly, c s the smallest postve element of the deal cz. But cz = az bz s the set of ntegers that are both a multple of a and of b. The number c s thus the smallest such common multple, whence ths name. 4. The formula az bz = cz says that the common multples of a and b are precsely the multples of c. Now ab = n pu +v s such a common multple, so c dvdes t; therefore c = n pw for some ntegers w u + v. In order for c to be a multple both of a and b, we need w to be both u and v for each. Then c wll be the smallest common multple precsely when w = max(u, v ), so that c = p max(u,v ). 2 p v

5. Recall that gcd(a, b) = n all u and v, so that pmn(u,v ). Now, mn(u, v) + max(u, v) = u + v for gcd(a, b) lcm(a, b) = p mn(u,v )+max(u,v ) = p u +v = ab. Exercse 2.3 1. Use the Eucldan algorthm to determne f 47 s nvertble mod 111, and to fnd ts nverse f t s. 2. Solve the equaton 47x 5 (mod 111) n Z/111Z. Soluton 2.3 1. We know that 47 s nvertble mod 111 f and only f 47 and 111 are coprme. If they are, we need to look for u and v Z such that 47u + 111v = 1; ndeed, u wll then be an nverse of 47 (mod 111). To fnd u and v, we ether spot them drectly 1, or we use the Eucldan algorthm. Ths algorthm wll also tell us f the gcd of 47 and 111 s not 1, so let s apply t: 111 = 2 47 + 17 47 = 2 17 + 13 17 = 13 + 4 13 = 3 4 + 1 So the gcd s 1, so 47 s nvertble mod 111. To fnd t, we wrte 1 = 13 3 4 = 13 3(17 13) = 4 13 3 17 = 4(47 2 17) 3 17 = 4 47 11 17 = 4 47 11 (111 2 47) = 26 47 11 111, whence 26 mod 111 s the nverse of 47 mod 111. 2. Snce 47 s nvertble mod 111, the only soluton s x = 5 47 1 = 5 26 = 130 19 (mod 111). 1 It can happen sometmes, but here there are no obvous canddates 3

Exercse 2.4: An unsolvable dophantne equaton Prove that the equaton x 3 + y 3 + z 3 = 31 has no soluton wth x, y, z Z. Hnt: try solvng the equaton mod 9. Soluton 2.4: Let us make a table of the cubes n Z/9Z: x 4 3 2 1 0 1 2 3 4 x 3 1 0 1 1 0 1 1 0 1 So the only cubes n Z/9Z are 1,0 and 1. As a result, a sum of 3 cubes can be 3, 2, 1, 0, 1, 2 or 3 (mod 9), but t can never be 4 nor 4. Snce 31 4 (mod 9), the equaton x 3 + y 3 + z 3 = 31 has no soluton n Z/9Z; therefore, t has no soluton n Z ether. Exercse 2.5: Prmes mod 6 1. Let p be a prme number whch s nether 2 nor 3. Prove that ether p 1 (mod 6) or p 1 (mod 6). 2. Prove that there are nfntely many prmes p such that p 1 (mod 6). Hnt: Suppose on the contrary that there are fntely many, say p 1,, p k. Let N = 6p 1 p k 1, and consder a prme dvsor of N. 3. Why does the same proof fal to show that there are nfntely may prmes p such that p 1 (mod 6)? 4. Drchlet s theorem on prmes n arthmetc progressons, whch s way beyond the scope of ths course, states that for all coprme postve ntegers a and b, there are nfntely many prmes p such that p a (mod b); n partcular, there are n fact nfntely many prmes p such that p 1 (mod 6). Why, n the statement of ths theorem, s t necessary to assume that a and b are coprme? Soluton 2.5: 1. If p s nether 2 nor 3, then p 6, so p and 6 are coprme. But the only nvertbles n Z/6Z are ±1 (ether see t by nspecton of all 6 elements, or use the fact that φ(6) = 2), so we must have p ±1 (mod 6). 2. Suppose that p 1,, p k are the only such prmes, and let N = 6p 1 p k 1. Clearly, nether 2 nor 3 dvde N (snce N 1 mod 6), so the prmes dvdng N are all ±1 (mod 6) by the prevous queston. If they were all +1 (mod 6), then N, ther product, would also be +1 (mod 6), whch s not the case. So at least one of them, say p, s 1 (mod 6). But ths p cannot be one of p 1,, p k, else we would have p (6p 1 p k N) = 1. We therefore have reached a contradcton. 3. We could suppose by contradcton that p 1,, p k are the only prmes 1 (mod 6), and consder a prme dvsor of N = 6p 1 p k 1 (or N = 6p 1 p k + 1). Such a prme could not be any of the p for the same reason as above, but there s no reason why t would have to be 1 (mod 6); ndeed, nothng prevents the dvsors of N from beng all 1 (mod 6). So we are stuck. 4

4. If p a (mod b), then p = bx + a for some x Z, so gcd(a, b) p; and obvously, f gcd(a, b) > 1, ths can only happen for at most one prme p (exactly one f gcd(a, b) = p s tself prme, and none else). The exercse below has been added for practce. not mandatory. It s not mandatory, and not worth any ponts. The soluton wll be made avalable wth the solutons to the other exercses. Exercse 2.6: Let n N. Dvsblty crtera 1. Prove that 3 n ff. 3 dvdes the sum of dgts of n. 2. Prove that 9 n ff. 9 dvdes the sum of dgts of n. 3. Fnd a smlar crteron to test whether 11 n. Soluton 2.6: The key s the followng observaton: f n 0, n 1, n 2, are the dgts of n from rght to left, so that n = n 0 + 10n 1 + 100n 2 + = n 10, and snce 10 1 (mod 9), we have n = n 10 n 1 = n (mod 9); n other words, n s congruent to the sum of ts dgts (mod 9). In partcular, ths congruence also holds mod 3 snce 3 9. So we have and 9 n n 0 (mod 9) n 0 (mod 9) 9 n 3 n n 0 (mod 3) n 0 (mod 3) 3 n. For dvsblty by 11, we notce that 10 1 (mod 11), so that n = n 10 n ( 1) = n 0 n 1 + n 2 n 3 + (mod 11). As a result, 11 n f and only f the expresson n 0 n 1 + n 2 n 3 +, whch s called the alternate sum of dgts of n, s dvsble by 11. Examples: For n = 261, we have 2 + 6 + 1 = 9, so 9 261. For n = 1452, we have 2 5 + 4 1 = 0, so 11 1452. We also see that 11 261 and that 3 1452 but 9 1452. 5