MATH10040 Chapter 3: Congruences and the Chinese Remainder Theorem

Size: px
Start display at page:

Download "MATH10040 Chapter 3: Congruences and the Chinese Remainder Theorem"

Transcription

1 MATH10040 Chapter 3: Congruences and the Chinese Remainder Theorem 1. Congruence modulo m Recall that R m (a) denotes the remainder of a on division by m. Thus, by the division algorithm, 0 R m (a) < m and a = mt+r m (a) for some t Z. Lemma 1.1. Fix an integer m 1. Let a, b Z. The following are equivalent: (1) m a b (2) a = b + ms for some s Z (3) R m (a) = R m (b) Proof. (1) (2): m a b if and only if there exists s Z with a b = ms if and only if a = b + ms for some s Z. (2)= (3): Suppose that a = b + ms for some s Z. Now, b = mt + R m (b) for some t Z. Thus a = m(t + s) + R m (b). By the uniqueness part of the division algorithm, R m (b) = R m (a). (3)= (2): Suppose that R m (a) = R m (b). Call this number r. Then a = mt+r and b = ms+r for some s, t Z. It follows that a b = m(t s) is a multiple of m. Definition 1.2. We say that a is congruent to b modulo m and write a b (mod m) if m a b (i.e. if any of the equivalent conditions of the Lemma hold). Here the number m is called the modulus of the congruence. Example (mod 7) (mod 7) (mod 7) (mod 7). Example 1.4. Which numbers are congruent to 13 modulo 6? Answer: a 13 (mod 6) if and only if a = t for some t Z; i.e. if and only if a is one of the numbers..., 13 12, 13 6, 13, , , ,... So a 13 (mod 6) if and only if a is one of the numbers..., 1, 7, 13, 19, 25, 31,... (Note: Since 13 1 (mod 6), this is also the list of numbers which are congruent to 1 modulo 6; i.e. this is the list of numbers which leave remainder 1 on division by 6.) 1

2 2 Remark 1.5. Observe that if m 1 and a Z, then the set of numbers which are congruent to a modulo m are the numbers in the list..., a 2m, a m, a, a + m, a + 2m, a + 3m,... This is a (doubly) infinite sequence of numbers. The difference between successive terms is always m. (Thus this is an arithmetic progression with common difference m.) Remark 1.6. Of course, we always have that a R m (a) (mod m) since a = R m (a) + mt for some t Z. Thus R m (a) is the unique number satisfying 0 R m (a) < m and a R m (a) (mod m). Remark 1.7. Observe that, from the definition, m a if and only if a 0 (mod m). We will use this repeatedly below; problems about divisibility can be rephrased as problems about congruences and vice versa. What turns the notion of congruence into a very powerful mathematical tool is the following crucial Theorem: Theorem 1.8 (Algebra of Congruences). Let m 1. (1) If a b (mod m) and b c (mod m) then a c (mod m). (2) If a a (mod m) and b b (mod m) then a + b a + b (mod m). (3) If a a (mod m) and b b (mod m) then ab a b (mod m). Proof. (4) If a a (mod m) then a n (a ) n (mod m) for any n 1. (1) R m (a) = R m (b) and R m (b) = R m (c) = R m (a) = R m (c). (2) m a a and m b b = m (a a )+(b b ) = (a+b) (a +b ) = a + b a + b (mod m). (3) We have a = a + mt, b = b + ms for some s, t Z. But then ab = (a + mt)(b + ms) = a b + m(a s + b t + mst) so that ab a b (mod m).

3 3 (4) We ll use induction on n 1. The case n = 1 is clear. Suppose the result is known for n. Then a n (a ) n (mod m) and a a (mod m) = a n a (a ) n a (mod m) by (3) = a n+1 (a ) n+1 (mod m). This theorem says that when doing algebra modulo m, at any stage we can replace a number a with another (usually smaller) number a whenever a a (mod m). 2. Algebra of congruences: Examples Example 2.1. Calculate the remainder of on division by 11. Solution: 14 3 (mod 11) and 37 4 (mod 11). Therefore, using properties (3) and (1) of the algebra of congruences, (mod 11). Therefore the remainder is 1. Example 2.2. Calculate the remainder of on division by 17. Solution: 35 1 (mod 17) = (mod 17) (using properties (1) and (4) of the algebra of congruences). So the answer is 1. Example 2.3. Calculate the remainder of on division by 13. Solution: (mod 13). Thus ( 1) 49 1 (mod 13). Since 1 12 (mod 13), (mod 13), so the remainder is 12. Example 2.4. Calculate the remainder of on division by 7. Solution: First, 16 2 (mod 7) = (mod 7). The strategy now is to find a small power of 2 which is congruent to ±1 modulo 7: In this case, we have (mod 7). It follows that for any integer m, 2 3m = (2 3 ) m 1 m 1 (mod 7); i.e. if n is a multiple of 3 then 2 n 1 (mod 7). Now we wish to calculate 2 55 (mod 7). 55 is not a multiple of 3. But 55 = and 54 is a multiple of 3. Thus 2 55 = = (mod 7). So the answer is 2.

4 4 Example 2.5. Find the remainder of on division by 11. Solution: We first calculate (mod 11) and (mod 11) using the strategy from the last example: : First 14 3 (mod 11). Now look at small powers of 3 to find one congruent to ±1 modulo = 9 2 (mod 11). Thus (3 2 ) 5 ( 2) (mod 11); i.e (mod 11). It follows (as in the last example) that 3 n 1 (mod 11) whenever n is a multiple of 10. So (mod 11) : (mod 11). Now (mod 11) = 4 5 = (2 5 ) 2 ( 1) 2 1 (mod 11). So 4 n 1 (mod 11) whenever n is divisible by 5. So (mod 11). Finally, using property (2) of the algebra of congruences, (mod 11). So the answer is 8. Example 2.6. Show that for every n 1 the number 2 2n + 5 is composite. Solution: We look at a few examples for small n to see if we can make any useful observations or conjectures: n = = 9 = 3 3 n = = 21 = 3 7 n = = 261 = After this the numbers grow too fast. However, based on our evidence so far we might guess that these numbers are always divisible by 3 (and hence are not prime). Thus, our guess is 3 2 2n + 5 for all n 1. This can be rewritten 2 2n (mod 3) or 2 2n 5 1 (mod 3). So we must prove that 2 2n 1 (mod 3) for all n: But 2 1 (mod 3) = 2 2n ( 1) 2n 1 (mod 3) for all n (since 2 n is even). Congruences often give us a means to prove that an equation has no integer solutions: Example 2.7. Show that the equation x 2 = 3y + 2 has no integer solutions x and y.

5 Solution: Note that numbers of the form 3y + 2 are precisely the numbers which are congruent to 2 modulo 3. Thus we are required to show that the congruence x 2 2 (mod 3) has no solutions. Now x leaves either remainder 0, 1 or 2 on division by 3. So x 0, 1 or 2 (mod 3). We consider each of these possibilities in turn: If x 0 (mod 3) then x (mod 3), and so x 2 2 (mod 3). If x 1 (mod 3) then x 2 1 (mod 3), and so x 2 2 (mod 3). If x 2 (mod 3) then x (mod 3), and so x 2 2 (mod 3). Example 2.8. Show that no number of the form 4t + 3 (t Z) can be written as a sum of two squares. Solution: The numbers of the form 4t + 3 are precisely the numbers congruent to 3 modulo 4. So we are required to prove that the congruence x 2 + y 2 3 (mod 4) has no solutions. Now, for n Z, n 0, 1, 2 or 3 (mod 4) and so n 2 0, 1, 0, 1 (mod 4). So any square is congruent either to 0 or 1 modulo 4. Thus x 2, y 2 0 or 1 (mod 4) and hence x 2 + y , 0 + 1, 1 + 0, (mod 4). Thus x 2 + y 2 0, 1 or 2 (mod 4), and hence x 2 + y 2 3 (mod 4). Example 2.9. Show that the equation x 2 2y 2 = 10 has no integer solutions. Solution: The strategy here is the following. Note that if a, b Z then a = b = a b (mod m) for any modulus m: To prove that a b it is enough to find a modulus m for which a b (mod m). Thus we attempt to find a modulus m for which x 2 2y 2 10 (mod m) has no solutions. There is no golden rule for choosing such a modulus; in general it may require some experimentation. However, one possibility worth exploring is the divisors of the numbers of coefficients occurring in the equation. Since 10 = 2 5 it is worth trying m = 2 or m = 5. If we try m = 2, we obtain the congruence x 2 0 (mod 2) which has solutions (take x to be any even number), so this is inconclusive. If we try m = 5 we get the congruence x 2 2y 2 0 (mod 5). Now if n is any integer then n 0, 1, 2, 3 or 4 (mod 5) and hence n 2 0, 1, 4 0, 1, 1 (mod 5). If 5 x, y then x 2, y 2 ±1 (mod 5) and x 2 2y 2 (±1) 2(±1) 0 (mod 5). This shows there are no solutions to the congruence (and hence to the original equation) satisfying 5 x, y. 5

6 6 So if there is a solution, we must have 5 x or 5 y, and hence 5 x and 5 y (since 5 10). Modulo 5 we then get 0 0 (mod 5), which does not tell us anything about the solvability of the original equation. However, observe that if 5 x, y then 5 2 x 2, y 2 and hence 25 = 5 2 x 2 2y 2. Since the equation x 2 2y 2 = 10 has no solutions in this case either Divisibility by 9. Let N be a natural number. Suppose that the (standard) decimal i.e. base 10 representation of N has the form a k a k 1 a 0 (where a 0,..., a k {0, 1,..., 9} are decimal digits). Then, by definition, N = a a a k a k. (i.e. this is meaning of the decimal representation). (For example, if the decimal representation of N is , then N = ) Since 10 1 (mod 9), 10 n 1 (mod 9) for any n. Thus N = a a a k a k a 0 + a a k (mod 9). Example What is the remainder of on division by 9? Solution: (mod 9). So the answer is 3. Exercise If N has decinal representation a k a 0 show that N a 0 a ( 1) k a k (mod 11). 3. Decomposing moduli Lemma 3.1. Suppose that m, n are nonzero integers satisfying (m, n) = 1. Suppose a is any integer. Then mn a m a and n a. Proof. = : If mn a then a = mnt = m(nt) = n(mt) for some integer t, and thus a is a multiple of m and of n. =: Since m a we have a = mb for some integer b. Since n mb and (n, m) = 1 we have n b. Thus b = nc for some integer c and hence a = mb = mnc. Remark 3.2. Of course, the hypothesis (m, n) = 1 is crucial here. For example 6 60 and 4 60 but The best that can be said in general is that if m a and n a then the least common multiple of m and n must divide a (see last problem on Homework 2.)

7 Corollary 3.3. Suppose that m, n are positive integers satisying (m, n) = 1 and that a, b Z. Then a b (mod mn) a b (mod m) and a b (mod n). Proof. a b (mod mn) mn (a b) m (a b) and n (a b) (by Lemma 3.1) a b (mod m) and a b (mod n). Example 3.4. Show that (mod 20). Since 20 = 4 5 and (4, 5) = 1, by Corollary 3.3, it is enough to show that (mod 4) and (mod 5). Now 87 1 (mod 4) = ( 1) (mod 4) (mod 5) = (mod 5). Thus (mod 5). Example 3.5. Find the last two digits of We wish to calculate the remainder of on division by 100; i.e. what is (mod 100)? Since 100 = 4 25 (and (4, 25) = 1) we can look at (mod 4) and (mod 25) separately (mod 4): 57 1 (mod 4) = (mod 4) (mod 25): 57 7 (mod 25). Now (mod 25) and hence (mod 25). Thus (mod 25). Let r be the remainder of on division by 100. We ve shown r 1 (mod 4) and r 18 (mod 25). So we just have to find the number smaller than 100 which satisfies both of these conditions. From the second condition r {18, 43, 68, 93}. Of these only 93 is congruent to 1 modulo 4. So r = 93. We can generalize this useful result to the situation where the modulus is a product of three or more (relatively prime) factors: First we need the following observation. Lemma 3.6. Suppose that m 1,..., m t, m are nonzero integers with (m, m i ) = 1 for i = 1,..., t. Then (m, m 1 m t ) = 1. Proof. Suppose FTSOC that (m, m 1 m t ) > 1. Then there is a prime number p satisfying p m and p m 1 m t. Since p is prime, p m i for some i and hence (m, m i ) 1, a contradiction. Lemma 3.7. Suppose that m 1,..., m t are positive integers satisfying (m i, m j ) = 1 whenever i j (we say that the list of numbers is pairwise relatively prime). Let m = m 1 m t. 7

8 8 If a, b Z, then a b (mod m) a b (mod m i ) for all i = 1,..., t. Proof. = is clear. =: We ll proceed by induction on t 2. When t = 2 this is just Corollary 3.3. Suppose the result is known for t, and that we are given m 1,..., m t, m t+1 pairwise relatively prime. Let m = m 1 m t m t+1. Since (m t+1, m i ) = 1 for i = 1,..., t it follows that (m t+1, m 1 m t ) = 1 by Lemma 3.6. Now m = (m 1 m t ) m t+1 and therefore a b (mod m) a b (mod m 1 m t ) and a b (mod m t+1 )(by the case t = 2) a b (mod m i ) for all i t and a b (mod m t+1 ) (by ind. hyp.) a b (mod m i ) for all i t + 1. Corollary 3.8. Let m > 1 and suppose that m = p a 1 1 p at t factorization of m. If a, b Z we have is the prime a b (mod m) a b (mod p a i i ) for all i = 1,..., t. Example 3.9. Let n be any integer not divisible by 2, 3 or 5. Prove that n 4 1 (mod 30) (i.e. 30 n 4 1). Solution: Since 30 = we just have to prove that n 4 1 (mod m) for m = 2, 3 and 5. Now n 1 (mod 2) = n 4 1 (mod 2). Also n ±1 (mod 3) = n 4 (±1) 4 1 (mod 3). Finally n ±1, ±2 (mod 5). So n 4 (±1) 4 or (±2) 4 (mod 5) = n 4 1 (mod 5). Remark Lemma 3.7 requires that the moduli are pairwise relatively prime. For example, the three numbers 6, 10, 15 satisfy (6, 10, 15) = 1 but no pair of them is relatively prime. Not that 31 1 (mod 6), 31 1 (mod 10) and 31 1 (mod 15) but 31 1 (mod ). So the conclusion of Lemma 3.7 does not hold in this case.

9 9 4. Solving ax b (mod m) Fix a modulus m and let a, b be any integers. We say that s Z is a solution of the congruence ax b (mod m) if as b (mod m). We want to determine when such a congruence has a solution, and, if so, to find all solutions. Note that as b (mod m) as = b mt for some t Z as + mt = b for some t Z. Thus the congruence ax b (mod m) has a solution s if and only if the equation ax + my = b has solutions s and t. But we have already seen (in Chapter 2, section 4) how to find all integer solutions of ax + my = b: (1) The equation has integer solutions if and only if (a, m) b. (2) Let g = (a, m) and suppose that g b. Then the equation ax+my = b has the same solutions as the equation a g x + m g y = b g. Therefore, ax b (mod m) has the same solutions as a g x b g (mod m g ). (3) Dividing across by g if necessary (as in (2)) we can reduce to the case (a, m) = 1: Using Euclid s algorithm or otherwise we find s, t Z with as+mt = b (and thus as b (mod m)). The general solution of the equation ax + my = b is x = s + mk, y = t ak, k Z. Therefore the general solution the congruence ax b (mod m) is x = s + mk, k Z; i.e. x s (mod m). (4) To conclude: When (a, m) = 1, first find a solution s of ax b (mod m) (using Euclid s algorithm or otherwise). The general solution is then the set of all integers congruent to s modulo m (we call this the congruence class of s modulo m).

10 10 Example 4.1. Find all integer solutions of the congruence 111x 9 (mod 69). Solution: First (111, 69) = 3 and 3 9, so the congruence has solutions. We divide across by 3 to get the simpler congruence 37x 3 (mod 23) (which has exactly the same solutions by our arguments above). By Euclid s algorithm we find 1 = ( 8) and so 3 = ( 24). Thus s = 15 is a solution of the congruence. The general solution is x = k, k Z (i.e. the congruence class of 15mod23). 5. The Chinese Remainder Theorem Example 5.1 (From a thirteenth century Chinese manuscript). Three farmers divide their rice equally. One goes to the market where an 83kg weight is used, another to a market where a 110kg weight is used and the third to a market where a 135kg weight is used. Each farmer sells as many full measures as they can. On returning, there remains 32, 70 and 30 kg respectively. Q: What is the total amount of rice? Let x denote the amount of rice each farmer has. So the total amount is 3x. So we know x 32 (mod 83) x 70 (mod 110) x 30 (mod 135) (Caution: The moduli are not pairwise relatively prime here: (110, 135) 1.) The Chinese Remainder Theorem tells us how to solve a system of congruences like the one in this example. Theorem 5.2 (Chinese Remainder Theorem). Suppose that m 1,..., m t are positive and pairwise relatively prime. Let m = m 1 m t. Let a 1,..., a t Z.

11 11 (1) There exists c Z satisfying c a 1 (mod m 1 ), c a 2 (mod m 2 ),..., c a t (mod m t ) (2) If c is one solution then the general solution is x = c + ms, s Z. Proof. (1) For i = 1, 2,..., t let n i = m/m i. So m = m i n i. (1) Note that (m i, n i ) = 1 for all i by Lemma 3.6, since the numbers m 1,..., m t are pairwise relatively prime. Therefore, for each i the congruence n i x 1 (mod m i ) is solvable; i.e. for each i there exists an integer b i satisfying n i b i 1 (mod m i ). (2) On the other hand if j i then n j b j 0 (mod m i ) since m i n j. Now let c := a 1 n 1 b a t n t b t. Fix some i. By congruence (2) a j n j b j 0 (mod m i ) whenever j i and hence c a i n i b i (mod m i ). However, by congruence (1) n i b i 1 (mod m i ) and hence c a i (mod m i ) as required. (2) Suppose that d is any other solution of the system of congruences. Then c d (mod m i ) i = c d (mod m)(by Lemma 3.7) so that d = c + ms for some s. Conversely, if d = c+ms for some s, then d c (mod m) and hence, for each i, d c a i (mod m i ) so that d is a solution. Remark 5.3. Note that in the proof of the first part of the theorem we provide a recipe for calculating c. Example 5.4. Find all solutions of the system of simultaneous congruences x 3 (mod 5), x 5 (mod 7), x 7 (mod 11). Solution: We use the recipe described in the proof of the CRT. Here a 1 = 3, m 1 = 5, a 2 = 5, m 2 = 7, a 3 = 7 and m 3 = 11. So n 1 = 7 11 = 77, n 2 = 5 11 = 55, n 3 = 5 7 = 35.

12 12 To find b 1, solve 77x 1 (mod 5); i.e. 2x 1 (mod 5). So we can take b 1 = 3. To find b 2, solve 55x 1 (mod 7); i.e. x 1 (mod 7) (since 55 1 (mod 7)). So we can take b 2 = 1. To find b 3, solve 35 1 (mod 11); i.e. 2x 1 (mod 11). So we can take b 3 = 6. Then a solution of our simultaneous congruences is c = a 1 n 1 b 1 + a 2 n 2 b 2 + a 3 n 3 b 3 = ( 1) = = Now m = m 1 m 2 m 3 = = 385. So the general solution x = t, t Z. This is the congruence class of 1888 modulo 385. Since (mod 385), this is the same as x = t, t Z Note that it follows 348 is the smallest positive solution of the simultaneous congruences; i.e. 348 is the smallest positive number which leaves remainder 3 on division by 5, 5 on division by 7 and 7 on division by 11. Example 5.5. We ll solve the thirteenth century Chinese problem above. The problem is to find the smallest positive integer solution of the simultaneous congruences x 32 (mod 83), x 70 (mod 110), x 30 (mod 135). We begin by recalling that the moduli in this problem are not pairwise relatively prime since (110, 135) = 5 so we cannot yet apply the procedure of the last example. First, we have to decompose the moduli. congruence is equivalent to x 0 (mod 5) and x 4 (mod 22) and the third congruence is equivalent to x 0 (mod 5) and x 3 (mod 27). So the original system is equivalent to the system Since 110 = 5 22 the second x 32 (mod 83), x 4 (mod 22), x 0 (mod 5) and x 3 (mod 27) and hence (recombining the last two) to the system x 32 (mod 83), x 4 (mod 22), and x 30 (mod 135)

13 13 So we now apply the method of the proof: To find b 1 : Solve x 1 (mod 83). Now modulo 83 we have (mod 83). So we must solve 65x 1 (mod 83). We use Euclid s algorithm: which gives Thus we can take b 1 = = = = = = = = ( 18). To find b 2 : We must solve x 1 (mod 22). Now (mod 22). So the congruence is 7x 1 (mod 22). We can take b 2 = 3. To find b 3, we must solve the congruence 83 22x 1 (mod 135). Now (mod 135). So we must solve 71x 1 (mod 135). Applying Euclid s algorithm to the pair 71, 315 we find the solution b 3 = 19. Thus a solution of the system of congruences is c = ( 3) ( 19) = Now = , so the general solution is x = t, t Z; i.e. the set of all numbers congruent to modulo Now the remainder of on division by is So is the smallest positive solution of the system. Therefore each farmer had kg of rice and the total amount of rice was = kg. Example 5.6. Find all positive integers less than 5000 which leave remainders 2, 4, 8 when divided by 9, 10, 11 respectively. Solution: First we find the general solution of the system x 2 (mod 9), x 4 (mod 10), x 8 (mod 11). To find b 1, solve 110x 1 (mod 9); i.e. 2x 1 (mod 9). We can take b 1 = 5.

14 14 To find b 2, we solve 99x 1 (mod 10); i.e. x 1 (mod 10). So we let b 2 = 1. To find b 3, we solve 90x 1 (mod 11); i.e. 2x 1 (mod 11). So let b 3 = 6. This gives the solution c = ( 1) = Since m = = 990, and since (mod 990) the general solution is the set t, t Z. Thus the positive solutions which lie below 5000 are 74, 1064, 2054, 3044, Example 5.7. Find the smallest positive integer leaving remainder 4, 5, 6 on division by 5, 6, 7 respectively. Solution: This is similar to the previous example. However, this time we don t have to work so hard. There is an obvious solution to the system of congruences, namely, c = 1. Thus the general solution is t (since = 210). Therefore the smallest positive solution is = 209.

MATH10040 Chapter 2: Prime and relatively prime numbers

MATH10040 Chapter 2: Prime and relatively prime numbers MATH10040 Chapter 2: Prime and relatively prime numbers Recall the basic definition: 1. Prime numbers Definition 1.1. Recall that a positive integer is said to be prime if it has precisely two positive

More information

Math 319 Problem Set #3 Solution 21 February 2002

Math 319 Problem Set #3 Solution 21 February 2002 Math 319 Problem Set #3 Solution 21 February 2002 1. ( 2.1, problem 15) Find integers a 1, a 2, a 3, a 4, a 5 such that every integer x satisfies at least one of the congruences x a 1 (mod 2), x a 2 (mod

More information

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors. The Prime Numbers Before starting our study of primes, we record the following important lemma. Recall that integers a, b are said to be relatively prime if gcd(a, b) = 1. Lemma (Euclid s Lemma). If gcd(a,

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

Applications of Fermat s Little Theorem and Congruences

Applications of Fermat s Little Theorem and Congruences Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4

More information

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion CHAPTER 5 Number Theory 1. Integers and Division 1.1. Divisibility. Definition 1.1.1. Given two integers a and b we say a divides b if there is an integer c such that b = ac. If a divides b, we write a

More information

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm MTHSC 412 Section 2.4 Prime Factors and Greatest Common Divisor Greatest Common Divisor Definition Suppose that a, b Z. Then we say that d Z is a greatest common divisor (gcd) of a and b if the following

More information

Homework until Test #2

Homework until Test #2 MATH31: Number Theory Homework until Test # Philipp BRAUN Section 3.1 page 43, 1. It has been conjectured that there are infinitely many primes of the form n. Exhibit five such primes. Solution. Five such

More information

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may Number Theory Divisibility and Primes Definition. If a and b are integers and there is some integer c such that a = b c, then we say that b divides a or is a factor or divisor of a and write b a. Definition

More information

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by SUBGROUPS OF CYCLIC GROUPS KEITH CONRAD 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by g = {g k : k Z}. If G = g, then G itself is cyclic, with g as a generator. Examples

More information

8 Divisibility and prime numbers

8 Divisibility and prime numbers 8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express

More information

The Chinese Remainder Theorem

The Chinese Remainder Theorem The Chinese Remainder Theorem Evan Chen evanchen@mit.edu February 3, 2015 The Chinese Remainder Theorem is a theorem only in that it is useful and requires proof. When you ask a capable 15-year-old why

More information

Today s Topics. Primes & Greatest Common Divisors

Today s Topics. Primes & Greatest Common Divisors Today s Topics Primes & Greatest Common Divisors Prime representations Important theorems about primality Greatest Common Divisors Least Common Multiples Euclid s algorithm Once and for all, what are prime

More information

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009 Notes on Algebra These notes contain as little theory as possible, and most results are stated without proof. Any introductory

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m) Chapter 23 Squares Modulo p Revised Version of Chapter 23 We learned long ago how to solve linear congruences ax c (mod m) (see Chapter 8). It s now time to take the plunge and move on to quadratic equations.

More information

MATH 289 PROBLEM SET 4: NUMBER THEORY

MATH 289 PROBLEM SET 4: NUMBER THEORY MATH 289 PROBLEM SET 4: NUMBER THEORY 1. The greatest common divisor If d and n are integers, then we say that d divides n if and only if there exists an integer q such that n = qd. Notice that if d divides

More information

SUM OF TWO SQUARES JAHNAVI BHASKAR

SUM OF TWO SQUARES JAHNAVI BHASKAR SUM OF TWO SQUARES JAHNAVI BHASKAR Abstract. I will investigate which numbers can be written as the sum of two squares and in how many ways, providing enough basic number theory so even the unacquainted

More information

11 Ideals. 11.1 Revisiting Z

11 Ideals. 11.1 Revisiting Z 11 Ideals The presentation here is somewhat different than the text. In particular, the sections do not match up. We have seen issues with the failure of unique factorization already, e.g., Z[ 5] = O Q(

More information

Computing exponents modulo a number: Repeated squaring

Computing exponents modulo a number: Repeated squaring Computing exponents modulo a number: Repeated squaring How do you compute (1415) 13 mod 2537 = 2182 using just a calculator? Or how do you check that 2 340 mod 341 = 1? You can do this using the method

More information

DIVISIBILITY AND GREATEST COMMON DIVISORS

DIVISIBILITY AND GREATEST COMMON DIVISORS DIVISIBILITY AND GREATEST COMMON DIVISORS KEITH CONRAD 1 Introduction We will begin with a review of divisibility among integers, mostly to set some notation and to indicate its properties Then we will

More information

CS 103X: Discrete Structures Homework Assignment 3 Solutions

CS 103X: Discrete Structures Homework Assignment 3 Solutions CS 103X: Discrete Structures Homework Assignment 3 s Exercise 1 (20 points). On well-ordering and induction: (a) Prove the induction principle from the well-ordering principle. (b) Prove the well-ordering

More information

GREATEST COMMON DIVISOR

GREATEST COMMON DIVISOR DEFINITION: GREATEST COMMON DIVISOR The greatest common divisor (gcd) of a and b, denoted by (a, b), is the largest common divisor of integers a and b. THEOREM: If a and b are nonzero integers, then their

More information

PYTHAGOREAN TRIPLES KEITH CONRAD

PYTHAGOREAN TRIPLES KEITH CONRAD PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014! GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!!! Challenge Problem 2 (Mastermind) due Fri. 9/26 Find a fourth guess whose scoring will allow you to determine the secret code (repetitions are

More information

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION Aldrin W. Wanambisi 1* School of Pure and Applied Science, Mount Kenya University, P.O box 553-50100, Kakamega, Kenya. Shem Aywa 2 Department of Mathematics,

More information

Quotient Rings and Field Extensions

Quotient Rings and Field Extensions Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.

More information

Notes on Factoring. MA 206 Kurt Bryan

Notes on Factoring. MA 206 Kurt Bryan The General Approach Notes on Factoring MA 26 Kurt Bryan Suppose I hand you n, a 2 digit integer and tell you that n is composite, with smallest prime factor around 5 digits. Finding a nontrivial factor

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us

More information

Handout #1: Mathematical Reasoning

Handout #1: Mathematical Reasoning Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or

More information

Chapter 2 Remodulization of Congruences Proceedings NCUR VI. è1992è, Vol. II, pp. 1036í1041. Jeærey F. Gold Department of Mathematics, Department of Physics University of Utah Don H. Tucker Department

More information

Lectures on Number Theory. Lars-Åke Lindahl

Lectures on Number Theory. Lars-Åke Lindahl Lectures on Number Theory Lars-Åke Lindahl 2002 Contents 1 Divisibility 1 2 Prime Numbers 7 3 The Linear Diophantine Equation ax+by=c 12 4 Congruences 15 5 Linear Congruences 19 6 The Chinese Remainder

More information

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures Number Theory Hungarian Style Cameron Byerley s interpretation of Csaba Szabó s lectures August 20, 2005 2 0.1 introduction Number theory is a beautiful subject and even cooler when you learn about it

More information

k, then n = p2α 1 1 pα k

k, then n = p2α 1 1 pα k Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square

More information

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and Breaking The Code Ryan Lowe Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and a minor in Applied Physics. As a sophomore, he took an independent study

More information

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me SYSTEMS OF PYTHAGOREAN TRIPLES CHRISTOPHER TOBIN-CAMPBELL Abstract. This paper explores systems of Pythagorean triples. It describes the generating formulas for primitive Pythagorean triples, determines

More information

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com Polynomials Alexander Remorov alexanderrem@gmail.com Warm-up Problem 1: Let f(x) be a quadratic polynomial. Prove that there exist quadratic polynomials g(x) and h(x) such that f(x)f(x + 1) = g(h(x)).

More information

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without

More information

Stupid Divisibility Tricks

Stupid Divisibility Tricks Stupid Divisibility Tricks 101 Ways to Stupefy Your Friends Appeared in Math Horizons November, 2006 Marc Renault Shippensburg University Mathematics Department 1871 Old Main Road Shippensburg, PA 17013

More information

Elementary Number Theory

Elementary Number Theory Elementary Number Theory A revision by Jim Hefferon, St Michael s College, 2003-Dec of notes by W. Edwin Clark, University of South Florida, 2002-Dec L A TEX source compiled on January 5, 2004 by Jim Hefferon,

More information

Lecture 13 - Basic Number Theory.

Lecture 13 - Basic Number Theory. Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted

More information

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples Brian Hilley Boston College MT695 Honors Seminar March 3, 2006 1 Introduction 1.1 Mazur s Theorem Let C be a

More information

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

WRITING PROOFS. Christopher Heil Georgia Institute of Technology WRITING PROOFS Christopher Heil Georgia Institute of Technology A theorem is just a statement of fact A proof of the theorem is a logical explanation of why the theorem is true Many theorems have this

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

Every Positive Integer is the Sum of Four Squares! (and other exciting problems) Every Positive Integer is the Sum of Four Squares! (and other exciting problems) Sophex University of Texas at Austin October 18th, 00 Matilde N. Lalín 1. Lagrange s Theorem Theorem 1 Every positive integer

More information

3 0 + 4 + 3 1 + 1 + 3 9 + 6 + 3 0 + 1 + 3 0 + 1 + 3 2 mod 10 = 4 + 3 + 1 + 27 + 6 + 1 + 1 + 6 mod 10 = 49 mod 10 = 9.

3 0 + 4 + 3 1 + 1 + 3 9 + 6 + 3 0 + 1 + 3 0 + 1 + 3 2 mod 10 = 4 + 3 + 1 + 27 + 6 + 1 + 1 + 6 mod 10 = 49 mod 10 = 9. SOLUTIONS TO HOMEWORK 2 - MATH 170, SUMMER SESSION I (2012) (1) (Exercise 11, Page 107) Which of the following is the correct UPC for Progresso minestrone soup? Show why the other numbers are not valid

More information

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS Class Meetings: MW 2:00-3:15 pm in Physics 144, September 7 to December 14 [Thanksgiving break November 23 27; final exam December 21] Instructor:

More information

Handout NUMBER THEORY

Handout NUMBER THEORY Handout of NUMBER THEORY by Kus Prihantoso Krisnawan MATHEMATICS DEPARTMENT FACULTY OF MATHEMATICS AND NATURAL SCIENCES YOGYAKARTA STATE UNIVERSITY 2012 Contents Contents i 1 Some Preliminary Considerations

More information

26 Integers: Multiplication, Division, and Order

26 Integers: Multiplication, Division, and Order 26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue

More information

Math Workshop October 2010 Fractions and Repeating Decimals

Math Workshop October 2010 Fractions and Repeating Decimals Math Workshop October 2010 Fractions and Repeating Decimals This evening we will investigate the patterns that arise when converting fractions to decimals. As an example of what we will be looking at,

More information

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

Discrete Mathematics, Chapter 4: Number Theory and Cryptography Discrete Mathematics, Chapter 4: Number Theory and Cryptography Richard Mayr University of Edinburgh, UK Richard Mayr (University of Edinburgh, UK) Discrete Mathematics. Chapter 4 1 / 35 Outline 1 Divisibility

More information

Settling a Question about Pythagorean Triples

Settling a Question about Pythagorean Triples Settling a Question about Pythagorean Triples TOM VERHOEFF Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands E-Mail address:

More information

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012 Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about

More information

Chapter 11 Number Theory

Chapter 11 Number Theory Chapter 11 Number Theory Number theory is one of the oldest branches of mathematics. For many years people who studied number theory delighted in its pure nature because there were few practical applications

More information

Math 55: Discrete Mathematics

Math 55: Discrete Mathematics Math 55: Discrete Mathematics UC Berkeley, Fall 2011 Homework # 5, due Wednesday, February 22 5.1.4 Let P (n) be the statement that 1 3 + 2 3 + + n 3 = (n(n + 1)/2) 2 for the positive integer n. a) What

More information

Mathematical Induction

Mathematical Induction Mathematical Induction (Handout March 8, 01) The Principle of Mathematical Induction provides a means to prove infinitely many statements all at once The principle is logical rather than strictly mathematical,

More information

V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography

V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography 3 Congruence Congruences are an important and useful tool for the study of divisibility. As we shall see, they are also critical

More information

CONTENTS 1. Peter Kahn. Spring 2007

CONTENTS 1. Peter Kahn. Spring 2007 CONTENTS 1 MATH 304: CONSTRUCTING THE REAL NUMBERS Peter Kahn Spring 2007 Contents 2 The Integers 1 2.1 The basic construction.......................... 1 2.2 Adding integers..............................

More information

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize

More information

5544 = 2 2772 = 2 2 1386 = 2 2 2 693. Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

5544 = 2 2772 = 2 2 1386 = 2 2 2 693. Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1 MATH 13150: Freshman Seminar Unit 8 1. Prime numbers 1.1. Primes. A number bigger than 1 is called prime if its only divisors are 1 and itself. For example, 3 is prime because the only numbers dividing

More information

Introduction to Finite Fields (cont.)

Introduction to Finite Fields (cont.) Chapter 6 Introduction to Finite Fields (cont.) 6.1 Recall Theorem. Z m is a field m is a prime number. Theorem (Subfield Isomorphic to Z p ). Every finite field has the order of a power of a prime number

More information

Basic Proof Techniques

Basic Proof Techniques Basic Proof Techniques David Ferry dsf43@truman.edu September 13, 010 1 Four Fundamental Proof Techniques When one wishes to prove the statement P Q there are four fundamental approaches. This document

More information

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003 MATH 22 Lecture R: 10/30/2003 THE FUNDAMENTAL THEOREM of ARITHMETIC You must remember this, A kiss is still a kiss, A sigh is just a sigh; The fundamental things apply, As time goes by. Herman Hupfeld

More information

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.

More information

On the largest prime factor of x 2 1

On the largest prime factor of x 2 1 On the largest prime factor of x 2 1 Florian Luca and Filip Najman Abstract In this paper, we find all integers x such that x 2 1 has only prime factors smaller than 100. This gives some interesting numerical

More information

Five fundamental operations. mathematics: addition, subtraction, multiplication, division, and modular forms

Five fundamental operations. mathematics: addition, subtraction, multiplication, division, and modular forms The five fundamental operations of mathematics: addition, subtraction, multiplication, division, and modular forms UC Berkeley Trinity University March 31, 2008 This talk is about counting, and it s about

More information

Continued Fractions. Darren C. Collins

Continued Fractions. Darren C. Collins Continued Fractions Darren C Collins Abstract In this paper, we discuss continued fractions First, we discuss the definition and notation Second, we discuss the development of the subject throughout history

More information

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers. MATHEMATICAL INDUCTION MIGUEL A LERMA (Last updated: February 8, 003) Mathematical Induction This is a powerful method to prove properties of positive integers Principle of Mathematical Induction Let P

More information

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b In this session, we ll learn how to solve problems related to place value. This is one of the fundamental concepts in arithmetic, something every elementary and middle school mathematics teacher should

More information

The Division Algorithm for Polynomials Handout Monday March 5, 2012

The Division Algorithm for Polynomials Handout Monday March 5, 2012 The Division Algorithm for Polynomials Handout Monday March 5, 0 Let F be a field (such as R, Q, C, or F p for some prime p. This will allow us to divide by any nonzero scalar. (For some of the following,

More information

An Introductory Course in Elementary Number Theory. Wissam Raji

An Introductory Course in Elementary Number Theory. Wissam Raji An Introductory Course in Elementary Number Theory Wissam Raji 2 Preface These notes serve as course notes for an undergraduate course in number theory. Most if not all universities worldwide offer introductory

More information

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov Lee 1 Primes in Sequences By: Jae Young Lee Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov Lee 2 Jae Young Lee MA341 Number Theory PRIMES IN SEQUENCES

More information

Just the Factors, Ma am

Just the Factors, Ma am 1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive

More information

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao yufeiz@mit.edu

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao yufeiz@mit.edu Integer Polynomials June 9, 007 Yufei Zhao yufeiz@mit.edu We will use Z[x] to denote the ring of polynomials with integer coefficients. We begin by summarizing some of the common approaches used in dealing

More information

Sample Induction Proofs

Sample Induction Proofs Math 3 Worksheet: Induction Proofs III, Sample Proofs A.J. Hildebrand Sample Induction Proofs Below are model solutions to some of the practice problems on the induction worksheets. The solutions given

More information

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 3 Binary Operations We are used to addition and multiplication of real numbers. These operations combine two real numbers

More information

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)! Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following

More information

The last three chapters introduced three major proof techniques: direct,

The last three chapters introduced three major proof techniques: direct, CHAPTER 7 Proving Non-Conditional Statements The last three chapters introduced three major proof techniques: direct, contrapositive and contradiction. These three techniques are used to prove statements

More information

Our Primitive Roots. Chris Lyons

Our Primitive Roots. Chris Lyons Our Primitive Roots Chris Lyons Abstract When n is not divisible by 2 or 5, the decimal expansion of the number /n is an infinite repetition of some finite sequence of r digits. For instance, when n =

More information

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system CHAPTER Number Theory FIGURE FIGURE FIGURE Plus hours Plus hours Plus hours + = + = + = FIGURE. Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter described a mathematical

More information

SOLUTIONS FOR PROBLEM SET 2

SOLUTIONS FOR PROBLEM SET 2 SOLUTIONS FOR PROBLEM SET 2 A: There exist primes p such that p+6k is also prime for k = 1,2 and 3. One such prime is p = 11. Another such prime is p = 41. Prove that there exists exactly one prime p such

More information

Primality - Factorization

Primality - Factorization Primality - Factorization Christophe Ritzenthaler November 9, 2009 1 Prime and factorization Definition 1.1. An integer p > 1 is called a prime number (nombre premier) if it has only 1 and p as divisors.

More information

Congruent Number Problem

Congruent Number Problem University of Waterloo October 28th, 2015 Number Theory Number theory, can be described as the mathematics of discovering and explaining patterns in numbers. There is nothing in the world which pleases

More information

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved First Draft February 8, 2006 1 Contents 25

More information

11 Multivariate Polynomials

11 Multivariate Polynomials CS 487: Intro. to Symbolic Computation Winter 2009: M. Giesbrecht Script 11 Page 1 (These lecture notes were prepared and presented by Dan Roche.) 11 Multivariate Polynomials References: MC: Section 16.6

More information

26 Ideals and Quotient Rings

26 Ideals and Quotient Rings Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 26 Ideals and Quotient Rings In this section we develop some theory of rings that parallels the theory of groups discussed

More information

Number Theory: A Mathemythical Approach. Student Resources. Printed Version

Number Theory: A Mathemythical Approach. Student Resources. Printed Version Number Theory: A Mathemythical Approach Student Resources Printed Version ii Contents 1 Appendix 1 2 Hints to Problems 3 Chapter 1 Hints......................................... 3 Chapter 2 Hints.........................................

More information

The cyclotomic polynomials

The cyclotomic polynomials The cyclotomic polynomials Notes by G.J.O. Jameson 1. The definition and general results We use the notation e(t) = e 2πit. Note that e(n) = 1 for integers n, e(s + t) = e(s)e(t) for all s, t. e( 1 ) =

More information

A Study on the Necessary Conditions for Odd Perfect Numbers

A Study on the Necessary Conditions for Odd Perfect Numbers A Study on the Necessary Conditions for Odd Perfect Numbers Ben Stevens U63750064 Abstract A collection of all of the known necessary conditions for an odd perfect number to exist, along with brief descriptions

More information

6.2 Permutations continued

6.2 Permutations continued 6.2 Permutations continued Theorem A permutation on a finite set A is either a cycle or can be expressed as a product (composition of disjoint cycles. Proof is by (strong induction on the number, r, of

More information

Vieta s Formulas and the Identity Theorem

Vieta s Formulas and the Identity Theorem Vieta s Formulas and the Identity Theorem This worksheet will work through the material from our class on 3/21/2013 with some examples that should help you with the homework The topic of our discussion

More information

Factoring Algorithms

Factoring Algorithms Factoring Algorithms The p 1 Method and Quadratic Sieve November 17, 2008 () Factoring Algorithms November 17, 2008 1 / 12 Fermat s factoring method Fermat made the observation that if n has two factors

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

Chapter 4 Complementary Sets Of Systems Of Congruences Proceedings NCUR VII. è1993è, Vol. II, pp. 793í796. Jeærey F. Gold Department of Mathematics, Department of Physics University of Utah Don H. Tucker

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information

Integer roots of quadratic and cubic polynomials with integer coefficients

Integer roots of quadratic and cubic polynomials with integer coefficients Integer roots of quadratic and cubic polynomials with integer coefficients Konstantine Zelator Mathematics, Computer Science and Statistics 212 Ben Franklin Hall Bloomsburg University 400 East Second Street

More information

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions. Unit 1 Number Sense In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions. BLM Three Types of Percent Problems (p L-34) is a summary BLM for the material

More information

The Factor Theorem and a corollary of the Fundamental Theorem of Algebra

The Factor Theorem and a corollary of the Fundamental Theorem of Algebra Math 421 Fall 2010 The Factor Theorem and a corollary of the Fundamental Theorem of Algebra 27 August 2010 Copyright 2006 2010 by Murray Eisenberg. All rights reserved. Prerequisites Mathematica Aside

More information

INCIDENCE-BETWEENNESS GEOMETRY

INCIDENCE-BETWEENNESS GEOMETRY INCIDENCE-BETWEENNESS GEOMETRY MATH 410, CSUSM. SPRING 2008. PROFESSOR AITKEN This document covers the geometry that can be developed with just the axioms related to incidence and betweenness. The full

More information