Numbers and their divisors
|
|
- Jodie Simpson
- 6 years ago
- Views:
Transcription
1 Chapter 1 Numbers and their divisors 1.1 Some number theoretic functions Theorem 1.1 (Fundamental Theorem of Arithmetic). Every positive integer > 1 is uniquely the product of distinct prime powers: n = k i=1 p a i i. Theorem 1.2 (Bertrand s Hypothesis). Let n > 1 be an integer. There is a prime number p such that n < p < 2n. Here are three important number theoretic functions. 1. The number of divisors function: d(n) := {d N : d n}. 2. The sum of divisors function: σ(n) := d n d. 3. Euler ϕ-function: ϕ(n) := {k Z : 1 k n and gcd(k, n) = 1}. Each of these functions is multiplicative, i.e., f(mn) = f(m)f(n) if gcd(m, n) = 1. They are therefore determined by their values at the prime powers. 1. d(p a ) = 1 + a; 2. σ(p a ) = 1 + p + + p a = pa ϕ(p a ) = p a p a 1 = p a (1 1 p p 1 ; ). 101
2 102 CHAPTER 1. NUMBERS AND THEIR DIVISORS Example 1.1. Find the smallest integer with exactly 28 divisors. Solution. If N = p a 1 1 p a 2 2 p a k k for distinct primes p 1, p 2,...,p k, then (1 + a 1 )(1 + a 2 ) (1 + a k ) = 28 = The only possibilities are (i) k = 2, a 1 = 3, a 2 = 6, N = p 3 1 p6 2 (a product of 9 primes); (ii) k = 3, a 1 = a 2 = 1, a 3 = 6, N = p 1 p 2 p 6 3 (a product of 8 primes). From these it is clear that the smallest N is = 960. Example 1.2. A minimum security prison contains 100 cells with one prisoner in each. The athletic young warden was ordered to free a certain number of these prisoners at his discretion, and this is how he did it. First he walked along the row of cells opening every door. Starting at the beginning again, he shut every second door. During his third walk, starting at the beginning, he stopped at every third door: if it was open he shut it, if it was shut he opened it. On his fourth walk he did the same, opening closed doors and closing open doors, except he did it for every fourth door. On his fifth walk he stopped at every fifth door, closing it if it was open and opening it if it was shut. And so on, until at last he had completed the full hundred walks. The prisoners in the open cells were freed. Which were the lucky cells? Solution. (1) The status (open or close) of cell n( 100) is reversed at the k-th walk if and only if k is a divisor of n. (2) Cell n is open at the end if and only if it has an odd number of divisors, i.e., n is a square. Therefore the lucky cells are cells k 2 for k 10.
3 1.2. PERFECT NUMBERS Perfect numbers A number n is perfect if it is equal to the sum of all its proper divisors, including 1. Thus, 6 = , 28 = are perfect numbers. Let σ(n) denote the sum of all positive divisors of n, including 1 and n. Note that a number n is perfect if σ(n) = 2n. Theorem 1.3 (Euclid). Let p be a prime number such that M p = 2 p 1 is prime. Then the number E P := 2 p 1 M p is perfect. Proof. If M p is prime, then the prime factors of E p are precisely These add up to 1, 2, 2 2,..., 2 p 1, M p, 2M p, 2 2 M p,..., 2 p 1 M p. ( p 1 )(1 + M p ) = (2 p 1) 2 p = 2E p, showing that E p is perfect. Theorem 1.4 (Euler). If n is an even perfect number, then n = 2 k 1 (2 k 1) for some integer k and M k = 2 k 1 is prime. Proof. Write n = 2 k 1 q, q odd. Since n is perfect, 2 k q = 2n = σ(n) = σ(2 k 1 )σ(q) = (2 k 1)σ(q). From this, σ(q) = q + q. Since σ(q) is an integer, 2 k 1 2k 1 must be a divisor of q. Indeed, we must have 2 k 1 = q, for otherwise q would have other positive divisors, which should enter into the sum σ(q). It follows that σ(q) = q + 1, and this means that q = 2 k 1 is a prime. Remark. It is not known if an odd perfect number exists. Example 1.3. Prove that a square integer cannot be a perfect number. Solution. Let N = (2 k Q) 2 for an odd number Q and an integer k 0. σ(n) = σ(2 2k Q 2 ) = σ(2 2k )σ(q 2 ). Note that (i) σ(2 2k ) = k is odd, and (ii) σ(q 2 ) is also odd, because Q 2 has an odd number of divisors which are all odd. It follows that σ(n) is an odd number, and cannot be equal to 2N. N cannot be a perfect number.
4 104 CHAPTER 1. NUMBERS AND THEIR DIVISORS Exercise 1. Find all perfect numbers n for which both n 1 and n+1 are prime numbers. 2. Show that if the sum of all divisors of n is a prime, then the number of divisors of n is also prime. 3. (a) Show that k and k + 1 are always relatively prime. (b) From the numbers 1, 2,..., 2n, randomly select n+1 numbers. Show that two of them must be relatively prime. 4. Show that is never an integer for n n
5 Chapter 2 Floor and Ceiling For a real number x, we denote by x the greatest integer not exceeding x, (the floor of x), 1 x the least integer not smaller than x, (the ceiling of x). {x} := x [x] the fractional or decimal part of x. 2.1 Highest power of a prime dividing a factorial Theorem 2.1. The exponent of the highest power of a prime p dividing n! is n n n p p 2 p 3 The exponent of the highest power of 2 dividing 18! is, counting the asterisks along the rows in the matrix below, = Proof. Let n = (a k a k 1 a 1 a 0 ) p be the base p expansion of n. The exponent of the highest power of p dividing n! is the sum of the following numbers: 1 This is also denoted [x] in older books. 105
6 106 CHAPTER 2. FLOOR AND CEILING a k a k 1 a k 2 a 2 a 1 a k a k 1 a 3 a 2 a k a 4 a 3... a k a k 1 a k Let R(p; k) be the integer whose base p expansion consists of k digits each of which is 1. Clearly, R(p; k) = 1 p 1 (pk 1). Adding the numbers above along the diagonals, we have a k R(p;k) + a k 1 R(p; k 1) + + a 2 R(p;2) + a 1 R(p;1) =a k pk 1 p 1 + a k 1 pk a 2 p2 1 p 1 p 1 + a1 p 1 p 1 + a0 1 1 p 1 = n (a k + a k a 1 + a 0). p 1 Corollary 2.2. Let α(n) denote the number of ones in the binary expansion of n. The exponent of the highest power of 2 dividing n! is n α(n). Corollary 2.3 (Kummer s theorem). The exponent of the highest power of a prime p dividing the binomial coefficient ( ) a+b a is equal to the number of carries in performing the addition of a and b in base p.
7 2.1. HIGHEST POWER OF A PRIME DIVIDING A FACTORIAL 107 [ ] Example 2.1. Show that [nx] = x. n Solution. Write x = [x] + [y]+{y} [y], and [nx] n = [x] + [y] n for some y < n. Then [nx] = n[x] + n [ ] [y], with y < 1. This means that [nx] = [x]. n n n Example 2.2. Find all real numbers x such that x = x {x}. Solution. Write x = k + s for an integer k and 0 s < 1. We have ks = k + s; s = k. Note that 0 s < 1 if and only if k > 0. k+1 Thus, x = k + k = k2 for a positive integer k. k+1 k+1 Example 2.3. Find all integers n for which n divides n. Solution. Let n = m so that m n < m + 1. This means n = m 2 +k for 0 k 2m. Note that m divides n if and only if k = 0, m, or 2m. Thus, n = m 2, m(m + 1), or m(m + 2). Example 2.4. Find all real numbers x such that x 1 x = x. 1 x Answer. x [ 0, 2) 1 [2, 3). Solution. (i) x (ii) 1 x Writing x = 1 + t, we have = t ; = 1+t t x 1 x = 1+ t t = 1 1 t. The problem is equivalent to finding t satisfying 1 t = 1 t. There are only two possibilities. (iii) t = 1 and 1 t = 1. With t = 1 +s for 0 s < 1, we have 1 = 1, and indeed 1 t 1+s t = 1. In this case, x = 1 + t satisfies 2 x < 3. (iv) t = 1 and t 1 = 1. With t = 1 + s for 0 s < 1, we have 1 = 1 = 1 satisfying 1 1 < 2. 2(1 s) > 1, s < 1. t 1+s 1 s 1 s 2 In this case, 1 t < 1 and 0 x <
8 108 CHAPTER 2. FLOOR AND CEILING Exercise 1. Prove that n! cannot be a square. 2. How many zeros are there at the end of 1000!? 3. Find all prime numbers p for which there are exactly 2012 zeros at the end of p!. 4. Find all integers n for which n divides n. 5. Show that for any positive integers m and n, the integer (m + m2 1) n is odd. 6. Show that ( 3 + 1) 2n is divisible by 2 n For natural numbers n define f(n) := n n and g(n) := n. n Determine all n for which f(n) = g(n). 8. Determine all rational numbers x such that x{x} = x. 9. Show that there exist infinitely many irrational numbers x such that x{x} = x. 10. Determine all numbers x such that x{x} = x. Answer. The only real solution is x = 0. Solution. First consider the case when x is an integer. Here, {x} = 0 and the only solution is x = x = x{x} = x 0 = 0. If x is not an integer, write x = n+θ for an integer n and 0 < θ < 1. We require (n + θ)θ = n + 1. This simplifies into (θ + 1)(θ (n + 1)) = 0, θ = 1 or n + 1, contradicting 0 < θ < 1. There is no non-integer solution.
9 Chapter 3 Number Theory Problems 3.1 A number game of Lewis Carroll How would you get A from D? Take a secret number Multiply it by 3 Tell me if it is Do the corresponding routine Multiply by 3 Tell me if it is Do the corresponding routine Add 19 to the original number A and put an extra digit at the end Now add B and C Divide by 7 and get the quotient only Further divide by 7 and get the quotient only Tell me this and I shall give you back A even or odd even or odd B C D D your A odd routine: Add 5 or 9, then divide by 2, and then add 1. even routine: Subtract 2 or 6, then divide by 2, and then add 29 or 33 or
10 110 CHAPTER 3. NUMBER THEORY PROBLEMS Solution. A can be obtained from D by (i) forming 4D 15, (ii) subtracting 3 if the first parity answer is even, and (iii) subtracting 2 if the second parity answer is even. Analysis. e and e are either 0 or 1. f and f are 1, 0, or 1. g is an integer between 0 and 9. The last two steps of dividing by 7 and keeping the quotients can be combined into one single step of dividing by 49. A 4k + 1 4k + 2 4k + 3 4k + 4 3A 12k k k k + 12 Parity odd even odd even Routine 6k e 6k k e 6k e + 4f 2e + 4f 3 times 18k e 18k k e e + 12f 6e + 4f Parity odd odd even even Routine B 9k k k k e + 2e 3e + 2e +3e 2e 3e 2e +6f +4f +6f + 4f C 40k g 40k g 40k g 40k g B + C 49k g 49k g 49k g 49k g +3e + 2e 3e + 2e +3e 2e 3e 2e +6f +4f +6f + 4f lower bound 49k k k k upper bound 49k k k k D k + 4 k + 5 k + 5 k + 6 A 4D 15 4D 18 4D 17 4D 20
11 3.2. SOME DIGIT PROBLEMS Some digit problems Example 3.1. The product of three consecutive even integers is Find the (five) missing digits. Solution. (2k 2)(2k)(2k+2) = 8(k 3 k) = Therefore, (k 1)(k)(k + 1) is a number of the form ; k is around 215. The last digit must be 1 or 6. Since this number must be even, the last digit is 6. The number k can only be 217 or 222. The three even numbers are either 432, 434, 436 or 442, 444, 446. Now = , = Only the first of these gives the correct product. The missing digits are Example 3.2. This is Problem E1 of the AMERICAN MATHEMATICAL MONTHLY: x 7 x x x x x x) x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x Clearly, the last second digit of the quotient is 0. Let the divisor be the 3-digit number d. Consider the 3-digit number in the seventh line, which is a multiple of d. Its difference from the 4-digit number in the sixth line is a 2-digit number. This must be 9xx. This cannot be the same as the 3-digit number in the fifth line, since the difference between the 3-digit numbers in the fourth and fifth lines is a 3-digit number. Therefore, in the quotient, the digit after 7 is a larger one, which must be smaller than the first and the last digits, since these give 4-digit multiples of d. It follows that the quotient is
12 112 CHAPTER 3. NUMBER THEORY PROBLEMS Since 8d is a 3-digit number 9xx, the 4-digit number in the third and bottom lines is 9d = 10xx or 11xx. From this 8d must be 99x, and therefore 992 = )
13 3.2. SOME DIGIT PROBLEMS 113 Exercise 1. Find all natural numbers whose squares (in base 10) are represented by odd digits only. 2. Find the three 3-digit numbers each of which is equal to the product of the sum of its digits by the sum of the squares of its digits. 3. Find all 4-digit numbers abcd such that 3 abcd = a + b + c + d. 4. Find a 4-digit number of the form aabb which is a square. Solution. A 4-digit number of the form aabb is divisible by 11. If it is a square, it must be (11c) 2 = 121 c 2 for some integer c = 3, 4,..., 9. Since b must be 1, 4, 6, or 9. Since a number congruent to 11, 66, 99 modulo 100 cannot be a square (consider their mod 4 values), the only possibility is b = 4. Correspondingly, c = 2 or 8. Now it is clear that only c = 8 works: 88 2 = Use each digit 1, 2, 3, 4, 5, 6, 7, 8, 9 exactly once to form prime numbers whose sum is smallest possible. What if we also include the digit 0? 6. There are exactly four 3-digit numbers each equal to the sum of the cubes of its own digits. Three of them are 153, 371, and 407. What is the remaining one? 7. Find a number of the form aaabbbccc, which when increased by 1, gives a square. 8. Find the smallest 3-digit number N such that the three numbers obtained by cyclic permutations of its digits are in arithmetic progression. 9. The number (abbbb) 2 1 has 10 digits, all different. Find the number What three-digit squares have the following characteristics? (a) are palindromes. (b) are permutations of consecutive digits. 1 These are the only possibilities even if we consider more generally numbers consisting of two consecutive blocks of repeating digits, whose squares, to within ±1, contain all ten digits without repetition = ; =
14 114 CHAPTER 3. NUMBER THEORY PROBLEMS (c) form reversal pairs. (d) are three permutations of the same digit set. (e) three of its permutations are prime. (f) the sum of the digits is 19. (g) is also a cube. (h) the central digit is perfect. (i) are composed of even digits. (j) the central digit is a nonzero cube.
15 3.2. SOME DIGIT PROBLEMS 115 Example 3.3. Show that the numbers 7744, , , ,... are perfect squares. Solution. The numbers in the second sequence are the squares of 88, 9898, , ,.... The pattern 9 k 79 k 70 k 40 k 4 = (9 k 89 k 8) 2. It is easier to work backward: for k 1, we have (9 k 89 k 8) 2 = (9 k 8 10 k 1) 2 = ((10 k+1 2)(10 k+1 + 1)) 2 = (10 2k+2 10 k+1 2) 2 = 10 4k k k k k = 10 4k k k k = 10 4k k k k = 9 k 80 3k k k 4 = 9 k 79 k 70 2k k 4 = 9 k 79 k 70 k 40 k 4. Since 88 2 = 7744, this also holds for k = 0. Exercise 1. Show that the numbers 49, 4489, , ,... are all squares. 2. Show that the numbers 729, 71289, , ,..., are perfect squares n 1 28 n 1 9 = 26 n
16 116 CHAPTER 3. NUMBER THEORY PROBLEMS 3.3 Some number quickies 1. If a b 1 (mod 2) then a 2 + b 2 is not a square. Solution. a 2 + b (mod 4) cannot be a square. 2. n 1 (mod 2) n 2 1 (mod 8). Solution. Let n = 2k + 1. n 2 = 4k(k + 1) + 1. Since one of k and k +1 is even, 4k(k +1) is divisible by 8, and n 2 1 (mod 8). 3. If n is not a prime, then 2 n 1 is not a prime. Solution. Let n = ab with a, b > 1. Then 2 n 1 = 2 ab 1 = (2 a ) b 1 is clearly divisible by 2 a 1 (which is greater than 1 and less than 2 n 1. The number 2 n 1 is not a prime. 4. If n has an odd divisor, then 2 n + 1 is not a prime. 5. Among five integers, there are always three with sum divisible by The sum of squares of five consecutive positive integers is not a square. Solution. (n 2) 2 + (n 1) 2 + n 2 + (n + 1) 2 + (n + 2) 2 = 5n = 5(n 2 + 2). If this is a square, then n is divisible by 5. This means that n 2 2 (mod 5), an impossibility. 7. Show that the product of four consecutive positive integers is not a square. Solution. n(n + 1)(n + 2)(n + 3) = n 4 + 6n n + 6n = (n 2 + 3n + 1) 2 1. Therefore, it cannot be a square. 8. Prove that for n a positive integer n 4 +2n 3 +2n 2 +2n+1 is never a perfect square. Solution. The given number is greater than n 4 + 2n 3 + n 2 = (n 2 + n) 2, but it is less than n 4 + 2n 3 + 3n 2 + 2n + 1 = (n 2 + n + 1) 2. Therefore, it cannot be a square. 9. If 9 a 2 + ab + b 2, then 3 a and 3 b. Solution. Since a 2 + ab + b 2 = (a b) 2 + 3ab is divisible by 9, (a b) 2 is divisible by 3, and therefore by 9. Therefore, 3ab is divisible by 9 and one of a and b is divisible by 3. Since a b is divisible by 3, it follows that the other one is also divisible by 3.
17 3.3. SOME NUMBER QUICKIES Prove that the product of any n consecutive positive integers is divisible by n!. k(k+1) (k+n 1) Solution. = ( ) k+n 1 n! n is an integer, being the number of ways of choosing n objects from n + k 1 distinct ones.
PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.
PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice
More informationPROBLEMS ON CONGRUENCES AND DIVISIBILITY
PROBLEMS ON CONGRUENCES AND DIVISIBILITY 1. Do there exist 1,000,000 consecutive integers each of which contains a repeated prime factor? 2. A positive integer n is powerful if for every prime p dividing
More informationTheory of Numbers Problems
Theory of Numbers Problems Antonios-Alexandros Robotis Robotis October 2018 1 First Set 1. Find values of x and y so that 71x 50y = 1. 2. Prove that if n is odd, then n 2 1 is divisible by 8. 3. Define
More informationMATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions
MATH 11/CSCI 11, Discrete Structures I Winter 007 Toby Kenney Homework Sheet 5 Hints & Model Solutions Sheet 4 5 Define the repeat of a positive integer as the number obtained by writing it twice in a
More informationnot to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results
REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results Euclid s Division Lemma : Given two positive integers a and b, there exist unique integers q and r satisfying a = bq + r, 0 r < b. Euclid s Division
More informationKnow the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.
The first exam will be on Monday, June 8, 202. The syllabus will be sections. and.2 in Lax, and the number theory handout found on the class web site, plus the handout on the method of successive squaring
More informationSOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,
SOLUTIONS TO PROBLEM SET 1 Section 1.3 Exercise 4. We see that 1 1 2 = 1 2, 1 1 2 + 1 2 3 = 2 3, 1 1 2 + 1 2 3 + 1 3 4 = 3 4, and is reasonable to conjecture n k=1 We will prove this formula by induction.
More informationM381 Number Theory 2004 Page 1
M81 Number Theory 2004 Page 1 [[ Comments are written like this. Please send me (dave@wildd.freeserve.co.uk) details of any errors you find or suggestions for improvements. ]] Question 1 20 = 2 * 10 +
More informationCHAPTER 1 REAL NUMBERS KEY POINTS
CHAPTER 1 REAL NUMBERS 1. Euclid s division lemma : KEY POINTS For given positive integers a and b there exist unique whole numbers q and r satisfying the relation a = bq + r, 0 r < b. 2. Euclid s division
More information2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.
CHAPTER 2 INTRODUCTION TO NUMBER THEORY ANSWERS TO QUESTIONS 2.1 A nonzero b is a divisor of a if a = mb for some m, where a, b, and m are integers. That is, b is a divisor of a if there is no remainder
More informationMath 319 Problem Set #2 Solution 14 February 2002
Math 39 Problem Set # Solution 4 February 00. (.3, problem 8) Let n be a positive integer, and let r be the integer obtained by removing the last digit from n and then subtracting two times the digit ust
More informationAn integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.
Chapter 6 Prime Numbers Part VI of PJE. Definition and Fundamental Results Definition. (PJE definition 23.1.1) An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p. If n > 1
More informationECEN 5022 Cryptography
Elementary Algebra and Number Theory University of Colorado Spring 2008 Divisibility, Primes Definition. N denotes the set {1, 2, 3,...} of natural numbers and Z denotes the set of integers {..., 2, 1,
More informationQ 1 Find the square root of 729. 6. Squares and Square Roots Q 2 Fill in the blank using the given pattern. 7 2 = 49 67 2 = 4489 667 2 = 444889 6667 2 = Q 3 Without adding find the sum of 1 + 3 + 5 + 7
More informationNAME DATE PERIOD. A negative exponent is the result of repeated division. Extending the pattern below shows that 4 1 = 1 4 or 1. Example: 6 4 = 1 6 4
Lesson 4.1 Reteach Powers and Exponents A number that is expressed using an exponent is called a power. The base is the number that is multiplied. The exponent tells how many times the base is used as
More informationMaths Book Part 1. By Abhishek Jain
Maths Book Part 1 By Abhishek Jain Topics: 1. Number System 2. HCF and LCM 3. Ratio & proportion 4. Average 5. Percentage 6. Profit & loss 7. Time, Speed & Distance 8. Time & Work Number System Understanding
More informationDefinition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively
6 Prime Numbers Part VI of PJE 6.1 Fundamental Results Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively D (p) = { p 1 1 p}. Otherwise
More informationMATH 361: NUMBER THEORY FOURTH LECTURE
MATH 361: NUMBER THEORY FOURTH LECTURE 1. Introduction Everybody knows that three hours after 10:00, the time is 1:00. That is, everybody is familiar with modular arithmetic, the usual arithmetic of the
More informationSummary Slides for MATH 342 June 25, 2018
Summary Slides for MATH 342 June 25, 2018 Summary slides based on Elementary Number Theory and its applications by Kenneth Rosen and The Theory of Numbers by Ivan Niven, Herbert Zuckerman, and Hugh Montgomery.
More informationMath 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby
Math 8: Advanced Number Theory Samit Dasgupta and Gary Kirby April, 05 Contents Basics of Number Theory. The Fundamental Theorem of Arithmetic......................... The Euclidean Algorithm and Unique
More informationArithmetic Problems. Chapter Reconstruction of division problems AMM E1 This is Problem E1 of the AMERICAN MATHEMATICAL MONTHLY: x x x x
Chapter 1 Arithmetic Problems 1.1 Reconstruction of division problems 1.1.1 AMM E1 This is Problem E1 of the AMERICAN MATHEMATICAL MONTHLY: x 7 ) Clearly, the last second digit of the quotient is 0. Let
More informationNumber Theory. CSS322: Security and Cryptography. Sirindhorn International Institute of Technology Thammasat University CSS322. Number Theory.
CSS322: Security and Cryptography Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 29 December 2011 CSS322Y11S2L06, Steve/Courses/2011/S2/CSS322/Lectures/number.tex,
More informationLecture 4: Number theory
Lecture 4: Number theory Rajat Mittal IIT Kanpur In the next few classes we will talk about the basics of number theory. Number theory studies the properties of natural numbers and is considered one of
More informationRecreational Mathematics
Recreational Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2003 Chapters 21-24 Version 0300716 Chapter 21 Infinitude of Prime Numbers 1 Fibonacci and Fermat numbers
More informationUniversity of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics
University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics Examiners: D. Burbulla, P. Glynn-Adey, S. Homayouni Time: 7-10
More information27 th Annual ARML Scrimmage
27 th Annual ARML Scrimmage Featuring: Howard County ARML Team (host) Baltimore County ARML Team ARML Team Alumni Citizens By Raymond Cheong May 23, 2012 Reservoir HS Individual Round (10 min. per pair
More informationExercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.
Exercises Exercises 1. Determine whether each of these integers is prime. a) 21 b) 29 c) 71 d) 97 e) 111 f) 143 2. Determine whether each of these integers is prime. a) 19 b) 27 c) 93 d) 101 e) 107 f)
More informationOn the Prime Divisors of Odd Perfect Numbers
On the Prime Divisors of Odd Perfect Numbers Justin Sweeney Department of Mathematics Trinity College Hartford, CT justin.sweeney@trincoll.edu April 27, 2009 1 Contents 1 History of Perfect Numbers 5 2
More informationRecreational Mathematics
Recreational Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2003 Chapters 13 16 Version 0300709 Chapter 1 Digit problems 1 When can you cancel illegitimately and yet
More informationand LCM (a, b, c) LCM ( a, b) LCM ( b, c) LCM ( a, c)
CHAPTER 1 Points to Remember : REAL NUMBERS 1. Euclid s division lemma : Given positive integers a and b, there exists whole numbers q and r satisfying a = bq + r, 0 r < b.. Euclid s division algorithm
More informationLP03 Chapter 5. A prime number is a natural number greater that 1 that has only itself and 1 as factors. 2, 3, 5, 7, 11, 13, 17, 19, 23, 29,
LP03 Chapter 5 Prime Numbers A prime number is a natural number greater that 1 that has only itself and 1 as factors. 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, Question 1 Find the prime factorization of 120.
More informationCHAPTER 6. Prime Numbers. Definition and Fundamental Results
CHAPTER 6 Prime Numbers Part VI of PJE. Definition and Fundamental Results 6.1. Definition. (PJE definition 23.1.1) An integer p is prime if p > 1 and the only positive divisors of p are 1 and p. If n
More information7. Prime Numbers Part VI of PJE
7. Prime Numbers Part VI of PJE 7.1 Definition (p.277) A positive integer n is prime when n > 1 and the only divisors are ±1 and +n. That is D (n) = { n 1 1 n}. Otherwise n > 1 is said to be composite.
More informationk, 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 informationMAS 6217 Number Theory and Cryptography (Yiu) Fall 2017 Exercise B (Solution)
MAS 6217 Number Theory and Cryptography (Yiu) Fall 2017 Exercise B (Solution) Solution to Problem B1. Let(a n ) be a sequence of numbers defined recursively by a n+1 = a 2 n a n +1, a 1 = 2. Show that
More informationMath 314 Course Notes: Brief description
Brief description These are notes for Math 34, an introductory course in elementary number theory Students are advised to go through all sections in detail and attempt all problems These notes will be
More information2 More on Congruences
2 More on Congruences 2.1 Fermat s Theorem and Euler s Theorem definition 2.1 Let m be a positive integer. A set S = {x 0,x 1,,x m 1 x i Z} is called a complete residue system if x i x j (mod m) whenever
More informationthen the hard copy will not be correct whenever your instructor modifies the assignments.
Assignments for Math 2030 then the hard copy will not be correct whenever your instructor modifies the assignments. exams, but working through the problems is a good way to prepare for the exams. It is
More informationAlgebra for error control codes
Algebra for error control codes EE 387, Notes 5, Handout #7 EE 387 concentrates on block codes that are linear: Codewords components are linear combinations of message symbols. g 11 g 12 g 1n g 21 g 22
More informationREAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.
REAL NUMBERS Introduction Euclid s Division Algorithm Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b. Fundamental
More informationSolutions to Practice Final
s to Practice Final 1. (a) What is φ(0 100 ) where φ is Euler s φ-function? (b) Find an integer x such that 140x 1 (mod 01). Hint: gcd(140, 01) = 7. (a) φ(0 100 ) = φ(4 100 5 100 ) = φ( 00 5 100 ) = (
More informationMATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1
MATH 4400 SOLUTIONS TO SOME EXERCISES 1.1.3. If a b and b c show that a c. 1. Chapter 1 Solution: a b means that b = na and b c that c = mb. Substituting b = na gives c = (mn)a, that is, a c. 1.2.1. Find
More information2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?
Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative
More informationSolutions to Assignment 1
Solutions to Assignment 1 Question 1. [Exercises 1.1, # 6] Use the division algorithm to prove that every odd integer is either of the form 4k + 1 or of the form 4k + 3 for some integer k. For each positive
More informationOn Exponentially Perfect Numbers Relatively Prime to 15
On Exponentially Perfect Numbers Relatively Prime to 15 by Joseph F. Kolenick Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science in the Mathematics Program YOUNGSTOWN
More informationEXAMPLES OF MORDELL S EQUATION
EXAMPLES OF MORDELL S EQUATION KEITH CONRAD 1. Introduction The equation y 2 = x 3 +k, for k Z, is called Mordell s equation 1 on account of Mordell s long interest in it throughout his life. A natural
More informationMath 109 HW 9 Solutions
Math 109 HW 9 Solutions Problems IV 18. Solve the linear diophantine equation 6m + 10n + 15p = 1 Solution: Let y = 10n + 15p. Since (10, 15) is 5, we must have that y = 5x for some integer x, and (as we
More informationChapter 2. Divisibility. 2.1 Common Divisors
Chapter 2 Divisibility 2.1 Common Divisors Definition 2.1.1. Let a and b be integers. A common divisor of a and b is any integer that divides both a and b. Suppose that a and b are not both zero. By Proposition
More informationA group of figures, representing a number, is called a numeral. Numbers are divided into the following types.
1. Number System Quantitative Aptitude deals mainly with the different topics in Arithmetic, which is the science which deals with the relations of numbers to one another. It includes all the methods that
More informationBeautiful Mathematics
Beautiful Mathematics 1. Principle of Mathematical Induction The set of natural numbers is the set of positive integers {1, 2, 3,... } and is denoted by N. The Principle of Mathematical Induction is a
More informationIntroduction to Number Theory
INTRODUCTION Definition: Natural Numbers, Integers Natural numbers: N={0,1,, }. Integers: Z={0,±1,±, }. Definition: Divisor If a Z can be writeen as a=bc where b, c Z, then we say a is divisible by b or,
More information7.2 Applications of Euler s and Fermat s Theorem.
7.2 Applications of Euler s and Fermat s Theorem. i) Finding and using inverses. From Fermat s Little Theorem we see that if p is prime and p a then a p 1 1 mod p, or equivalently a p 2 a 1 mod p. This
More informationNumbers. 2.1 Integers. P(n) = n(n 4 5n 2 + 4) = n(n 2 1)(n 2 4) = (n 2)(n 1)n(n + 1)(n + 2); 120 =
2 Numbers 2.1 Integers You remember the definition of a prime number. On p. 7, we defined a prime number and formulated the Fundamental Theorem of Arithmetic. Numerous beautiful results can be presented
More informationCHAPTER 3. Congruences. Congruence: definitions and properties
CHAPTER 3 Congruences Part V of PJE Congruence: definitions and properties Definition. (PJE definition 19.1.1) Let m > 0 be an integer. Integers a and b are congruent modulo m if m divides a b. We write
More informationQ 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?
2 Mod math Modular arithmetic is the math you do when you talk about time on a clock. For example, if it s 9 o clock right now, then it ll be 1 o clock in 4 hours. Clearly, 9 + 4 1 in general. But on a
More informationLecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel
Lecture Notes on DISCRETE MATHEMATICS Eusebius Doedel c Eusebius J. Doedel, 009 Contents Logic. Introduction............................................................................... Basic logical
More informationAll variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.
Math 152, Problem Set 2 solutions (2018-01-24) All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. 1. Let us look at the following equation: x 5 1
More informationMath 2 Variable Manipulation Part 2 Powers & Roots PROPERTIES OF EXPONENTS:
Math 2 Variable Manipulation Part 2 Powers & Roots PROPERTIES OF EXPONENTS: 1 EXPONENT REVIEW PROBLEMS: 2 1. 2x + x x + x + 5 =? 2. (x 2 + x) (x + 2) =?. The expression 8x (7x 6 x 5 ) is equivalent to?.
More informationSubtraction games. Chapter The Bachet game
Chapter 7 Subtraction games 7.1 The Bachet game Beginning with a positive integer, two players alternately subtract a positive integer < d. The player who gets down to 0 is the winner. There is a set of
More informationHomework #2 solutions Due: June 15, 2012
All of the following exercises are based on the material in the handout on integers found on the class website. 1. Find d = gcd(475, 385) and express it as a linear combination of 475 and 385. That is
More informationCS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II
CS 5319 Advanced Discrete Structure Lecture 9: Introduction to Number Theory II Divisibility Outline Greatest Common Divisor Fundamental Theorem of Arithmetic Modular Arithmetic Euler Phi Function RSA
More informationNumber Theory Solutions Packet
Number Theory Solutions Pacet 1 There exist two distinct positive integers, both of which are divisors of 10 10, with sum equal to 157 What are they? Solution Suppose 157 = x + y for x and y divisors of
More informationMath 324, Fall 2011 Assignment 6 Solutions
Math 324, Fall 2011 Assignment 6 Solutions Exercise 1. (a) Find all positive integers n such that φ(n) = 12. (b) Show that there is no positive integer n such that φ(n) = 14. (c) Let be a positive integer.
More informationEureka Math. Algebra II Module 1 Student File_A. Student Workbook. This file contains Alg II-M1 Classwork Alg II-M1 Problem Sets
Eureka Math Algebra II Module 1 Student File_A Student Workbook This file contains Alg II- Classwork Alg II- Problem Sets Published by the non-profit GREAT MINDS. Copyright 2015 Great Minds. No part of
More informationINTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.
INTEGERS PETER MAYR (MATH 2001, CU BOULDER) In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes. 1. Divisibility Definition. Let a, b
More informationSome Own Problems In Number Theory
Some Own Problems In Number Theory Mathmdmb April 16, 2011 Here are some problems proposed by me, and the problems or their solutions have not been approved by someone else. So if any fault occurs, I shall
More informationAssociative property
Addition Associative property Closure property Commutative property Composite number Natural numbers (counting numbers) Distributive property for multiplication over addition Divisibility Divisor Factor
More informationIntermediate Math Circles March 6, 2013 Number Theory I
What is Number Theory? Intermediate Math Circles March 6, 01 Number Theory I A branch of mathematics where mathematicians examine and study patterns found within the natural number set (positive integers).
More informationNUMBERS AND CODES CHAPTER Numbers
CHAPTER 2 NUMBERS AND CODES 2.1 Numbers When a number such as 101 is given, it is impossible to determine its numerical value. Some may say it is five. Others may say it is one hundred and one. Could it
More informationChapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations
Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 9.1 Chapter 9 Objectives
More informationDecimal Addition: Remember to line up the decimals before adding. Bring the decimal straight down in your answer.
Summer Packet th into 6 th grade Name Addition Find the sum of the two numbers in each problem. Show all work.. 62 2. 20. 726 + + 2 + 26 + 6 6 Decimal Addition: Remember to line up the decimals before
More informationChapter 5. Number Theory. 5.1 Base b representations
Chapter 5 Number Theory The material in this chapter offers a small glimpse of why a lot of facts that you ve probably nown and used for a long time are true. It also offers some exposure to generalization,
More informationName (please print) Mathematics Final Examination December 14, 2005 I. (4)
Mathematics 513-00 Final Examination December 14, 005 I Use a direct argument to prove the following implication: The product of two odd integers is odd Let m and n be two odd integers Since they are odd,
More informationNUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:
NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two operations defined on them, addition and multiplication,
More information10.1 Radical Expressions and Functions Math 51 Professor Busken
0. Radical Expressions and Functions Math 5 Professor Busken Objectives Find square roots without a calculator Simplify expressions of the form n a n Evaluate radical functions and find the domain of radical
More informationProofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)
Proofs Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm Reading (Epp s textbook) 4.3 4.8 1 Divisibility The notation d n is read d divides n. Symbolically,
More informationBasic elements of number theory
Cryptography Basic elements of number theory Marius Zimand By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a k for some integer k. Notation
More informationReal Number. Euclid s division algorithm is based on the above lemma.
1 CHAPTER We are Starting from a Point but want to Make it a Circle of Infinite Radius Basic Concepts 1. Euclid s division lemma Given two positive integers a and b, there exist unique integers q and r
More informationBasic elements of number theory
Cryptography Basic elements of number theory Marius Zimand 1 Divisibility, prime numbers By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a
More information1 Total Gadha s Complete Book of NUMBER SYSTEM TYPES OF NUMBERS Natural Numbers The group of numbers starting from 1 and including 1,,, 4, 5, and so on, are known as natural numbers. Zero, negative numbers,
More informationMathathon Round 1 (2 points each)
Mathathon Round ( points each). A circle is inscribed inside a square such that the cube of the radius of the circle is numerically equal to the perimeter of the square. What is the area of the circle?
More informationThe number of ways to choose r elements (without replacement) from an n-element set is. = r r!(n r)!.
The first exam will be on Friday, September 23, 2011. The syllabus will be sections 0.1 through 0.4 and 0.6 in Nagpaul and Jain, and the corresponding parts of the number theory handout found on the class
More informationPart II. Number Theory. Year
Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 Paper 3, Section I 1G 70 Explain what is meant by an Euler pseudoprime and a strong pseudoprime. Show that 65 is an Euler
More informationPRACTICE PROBLEMS: SET 1
PRACTICE PROBLEMS: SET MATH 437/537: PROF. DRAGOS GHIOCA. Problems Problem. Let a, b N. Show that if gcd(a, b) = lcm[a, b], then a = b. Problem. Let n, k N with n. Prove that (n ) (n k ) if and only if
More informationPrime Numbers and Irrational Numbers
Chapter 4 Prime Numbers and Irrational Numbers Abstract The question of the existence of prime numbers in intervals is treated using the approximation of cardinal of the primes π(x) given by Lagrange.
More informationUNC Charlotte 2004 Algebra with solutions
with solutions March 8, 2004 1. Let z denote the real number solution to of the digits of z? (A) 13 (B) 14 (C) 15 (D) 16 (E) 17 3 + x 1 = 5. What is the sum Solution: E. Square both sides twice to get
More informationAlgebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.
Coding Theory Massoud Malek Algebra Congruence Relation The definition of a congruence depends on the type of algebraic structure under consideration Particular definitions of congruence can be made for
More informationChapter 3: Factors, Roots, and Powers
Chapter 3: Factors, Roots, and Powers Section 3.1 Chapter 3: Factors, Roots, and Powers Section 3.1: Factors and Multiples of Whole Numbers Terminology: Prime Numbers: Any natural number that has exactly
More informationArithmetic. Integers: Any positive or negative whole number including zero
Arithmetic Integers: Any positive or negative whole number including zero Rules of integer calculations: Adding Same signs add and keep sign Different signs subtract absolute values and keep the sign of
More information2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?
Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative
More informationMATH Dr. Halimah Alshehri Dr. Halimah Alshehri
MATH 1101 haalshehri@ksu.edu.sa 1 Introduction To Number Systems First Section: Binary System Second Section: Octal Number System Third Section: Hexadecimal System 2 Binary System 3 Binary System The binary
More informationCCSU Regional Math Competition, 2012 Part I
CCSU Regional Math Competition, Part I Each problem is worth ten points. Please be sure to use separate pages to write your solution for every problem.. Find all real numbers r, with r, such that a -by-r
More informationREVIEW Chapter 1 The Real Number System
REVIEW Chapter The Real Number System In class work: Complete all statements. Solve all exercises. (Section.4) A set is a collection of objects (elements). The Set of Natural Numbers N N = {,,, 4, 5, }
More informationUNC Charlotte 2005 Comprehensive March 7, 2005
March 7, 2005 1. The numbers x and y satisfy 2 x = 15 and 15 y = 32. What is the value xy? (A) 3 (B) 4 (C) 5 (D) 6 (E) none of A, B, C or D Solution: C. Note that (2 x ) y = 15 y = 32 so 2 xy = 2 5 and
More informationPrepared by Sa diyya Hendrickson. Package Summary
Introduction Prepared by Sa diyya Hendrickson Name: Date: Package Summary Defining Decimal Numbers Things to Remember Adding and Subtracting Decimals Multiplying Decimals Expressing Fractions as Decimals
More informationThe Chinese Remainder Theorem
The Chinese Remainder Theorem R. C. Daileda February 19, 2018 1 The Chinese Remainder Theorem We begin with an example. Example 1. Consider the system of simultaneous congruences x 3 (mod 5), x 2 (mod
More informationA Readable Introduction to Real Mathematics
Solutions to selected problems in the book A Readable Introduction to Real Mathematics D. Rosenthal, D. Rosenthal, P. Rosenthal Chapter 7: The Euclidean Algorithm and Applications 1. Find the greatest
More informationMassachusetts Tests for Educator Licensure (MTEL )
Massachusetts Tests for Educator Licensure (MTEL ) BOOKLET 2 Mathematics Subtest Copyright 2010 Pearson Education, Inc. or its affiliate(s). All rights reserved. Evaluation Systems, Pearson, P.O. Box 226,
More informationChuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice
Some Chuck, Ph.D. Department of Mathematics Rockdale Magnet School for Science Technology May 25, 2009 / Georgia ARML Practice Outline 1 2 3 4 Outline 1 2 3 4 Warm-Up Problem Problem Find all positive
More informationCourse MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography
Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups
More information