a the relation arb is defined if and only if = 2 k, k

Similar documents
3 The fundamentals: Algorithms, the integers, and matrices

4 Number Theory and Cryptography

Number Theory Math 420 Silverman Exam #1 February 27, 2018

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

The set of integers will be denoted by Z = {, -3, -2, -1, 0, 1, 2, 3, 4, }

M381 Number Theory 2004 Page 1

Lecture Notes. Advanced Discrete Structures COT S

4 Powers of an Element; Cyclic Groups

Homework #2 solutions Due: June 15, 2012

Ch 4.2 Divisibility Properties

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

Discrete Structures Lecture Primes and Greatest Common Divisor

The Chinese Remainder Theorem

2x 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?

Integers and Division

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Applied Cryptography and Computer Security CSE 664 Spring 2017

Intermediate Math Circles February 26, 2014 Diophantine Equations I

Writing Assignment 2 Student Sample Questions

Number Theory. CSS322: Security and Cryptography. Sirindhorn International Institute of Technology Thammasat University CSS322. Number Theory.

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

2x 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?

MTH 346: The Chinese Remainder Theorem

Basic elements of number theory

Basic elements of number theory

Math 109 HW 9 Solutions

Lecture 7: Number Theory Steven Skiena. skiena

Chapter 3 Basic Number Theory

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Senior Math Circles Cryptography and Number Theory Week 2

Wilson s Theorem and Fermat s Little Theorem

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

Number Theory Notes Spring 2011

With Question/Answer Animations. Chapter 4

Objective Type Questions

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II

MAS114: Exercises. October 26, 2018

2 Elementary number theory

Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I

Number Theory and Divisibility

The Euclidean Algorithm and Multiplicative Inverses

NUMBER THEORY AND CODES. Álvaro Pelayo WUSTL

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

Solutions to Assignment 1

Math 131 notes. Jason Riedy. 6 October, Linear Diophantine equations : Likely delayed 6

[Part 2] Asymmetric-Key Encipherment. Chapter 9. Mathematics of Cryptography. Objectives. Contents. Objectives

The Chinese Remainder Theorem

Wednesday, February 21. Today we will begin Course Notes Chapter 5 (Number Theory).

Chapter 3: The Euclidean Algorithm and Diophantine. Math 138 Burger California State University, Fresno

CHAPTER 3. Congruences. Congruence: definitions and properties

MATH 361: NUMBER THEORY FOURTH LECTURE

Introduction to Cryptography CS 355 Lecture 3

Number Theory Proof Portfolio

Introduction to Number Theory

Elementary Properties of the Integers

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

Chuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

Elementary Number Theory MARUCO. Summer, 2018

Chapter 2. Divisibility. 2.1 Common Divisors

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Exercises 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.

8 Primes and Modular Arithmetic

Lecture 7 Number Theory Euiseong Seo

CSE 20 DISCRETE MATH. Winter

Lecture 2. The Euclidean Algorithm and Numbers in Other Bases

For your quiz in recitation this week, refer to these exercise generators:

ICS141: Discrete Mathematics for Computer Science I

Remainders. We learned how to multiply and divide in elementary

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Mathematics of Cryptography

Introduction to Information Security

NOTES ON SIMPLE NUMBER THEORY

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

2301 Assignment 1 Due Friday 19th March, 2 pm

Chapter 5: The Integers

5: The Integers (An introduction to Number Theory)

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

Number Theory. Modular Arithmetic

ELEMENTS OF NUMBER THEORY

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd()

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

. In particular if a b then N(

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

CMPUT 403: Number Theory

Part I, Number Systems. CS131 Mathematics for Computer Scientists II Note 1 INTEGERS

Chapter 5.1: Induction

Chapter 5. Number Theory. 5.1 Base b representations

CISC-102 Fall 2017 Week 6

The number of ways to choose r elements (without replacement) from an n-element set is. = r r!(n r)!.

Solutions to Practice Final

NOTES ON INTEGERS. 1. Integers

Number Theory and Group Theoryfor Public-Key Cryptography

Number Theory Solutions Packet

MATH 145 Algebra, Solutions to Assignment 4

MATH 420 FINAL EXAM J. Beachy, 5/7/97

Ma/CS 6a Class 2: Congruences

1 Overview and revision

Transcription:

DISCRETE MATHEMATICS Past Paper Questions in Number Theory 1. Prove that 3k + 2 and 5k + 3, k are relatively prime. (Total 6 marks) 2. (a) Given that the integers m and n are such that 3 (m 2 + n 2 ), prove that 3 m and 3 n. Hence show that 2 is irrational. 3. (a) Write 457128 as a product of primes. Numbers of the form F n = n 2 2 + 1, n are called Fermat numbers. Find the smallest value of n for which the corresponding Fermat number has more than a million digits. (c) Prove that 22 5 11 + 17 11. 4. (a) Explaining your method fully, determine whether or not 1189 is a prime number. (i) State the fundamental theorem of arithmetic. (ii) The positive integers M and N have greatest common divisor G and least common multiple L. Show that GL = MN. (Total 10 marks) 5. (a) Prove that the number 14 641 is the fourth power of an integer in any base greater than 6. For a, b a the relation arb is defined if and only if = 2 k, k b. (i) Prove that R is an equivalence relation. (ii) List the equivalence classes of R on the set {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. (8) IB Questionbank Mathematics Higher Level 3rd edition 1

6. The positive integer N is expressed in base p as (a n a n 1... a 1 a 0 ) p. (a) Show that when p = 2, N is even if and only if its least significant digit, a 0, is 0. Show that when p = 3, N is even if and only if the sum of its digits is even. 7. Given that n 2 + 2n + 3 N (mod 8), where n and 0 N 7, prove that N can take one of only three possible values. 8. (a) Given that a, b and c +, show that if a 1 (mod c), then ab b (mod c). Using mathematical induction, show that 9 n l (mod 4), for n. (c) The positive integer M is expressed in base 9. Show that M is divisible by 4 if the sum of its digits is divisible by 4. 9. Find the remainder when 67 101 is divided by 65. (Total 6 marks) 10. Given that a, b, c, d, show that (a b)(a c)(a d)(b c)(b d)(c d) 0 (mod 3). (Total 7 marks) 11. Let a and b be two positive integers. (a) Show that gcd(a,b) lcm(a,b) = ab Show that gcd(a, a + b) = gcd(a, b) (Total 13 marks) 12. (a) Write the number 10 201 in base 8. Prove that if a number is divisible by 7 that the sum of its base 8 digits is also divisible by 7. (c) Using the result of part, show that the number 10 201 is not divisible by 7. IB Questionbank Mathematics Higher Level 3rd edition 2

13. The positive integer N is expressed in base 9 as (a n a n 1... a 0 ) 9. (a) Show that N is divisible by 3 if the least significant digit, a 0, is divisible by 3. (c) Show that N is divisible by 2 if the sum of its digits is even. Without using a conversion to base 10, determine whether or not (464860583) 9 is divisible by 12. 14. (a) Define what is meant by the statement x y (mod n) where x, y, n +. (1) Hence prove that if x y (mod n) then x 2 y 2 (mod n). (c) Determine whether or not x 2 y 2 (mod n) implies that x y (mod n). 15. (a) Show that a positive integer, written in base 10, is divisible by 9 if the sum of its digits is divisible by 9. The representation of the positive integer N in base p is denoted by (N) p. (126) 7 If ( 5 ) 7 = ( anan 1... a1a0 ) 7, find a 0. (Total 16 marks) 16. (a) Using Fermat s little theorem, show that, in base 10, the last digit of n is always equal to the last digit of n 5. Show that this result is also true in base 30. IB Questionbank Mathematics Higher Level 3rd edition 3

17. (a) Write down Fermat s little theorem. In base 5 the representation of a natural number X is (k00013(5 k)) 5. This means that X = k 5 6 + 1 5 2 + 3 5 + (5 k). In base 7 the representation of X is (a n a n 1...a 2 a 1 a 0 ) 7. Find a 0. (c) Given that k = 2, find X in base 7. 18. Prove that if gcd(a, b) = 1 and gcd(a, c) = 1, then gcd (a, bc) = 1. (Total 5 marks) 19. (a) Use the Euclidean Algorithm to find the gcd of 324 and 129. Hence show that 324x + 129y = 12 has a solution and find both a particular solution and the general solution. (c) Show that there are no integers x and y such that 82x + 140y = 3. 20. (a) Use the Euclidean algorithm to find the greatest common divisor of the numbers 56 and 315. (i) Find the general solution to the diophantine equation 56x + 315y = 21. (ii) Hence or otherwise find the smallest positive solution to the congruence 315x 21 (modulo 56). (Total 13 marks) 21. Use the Euclidean Algorithm to find the greatest common divisor of 7854 and 3315. Hence state the number of solutions to the diophantine equation 7854x + 3315y = 41 and justify your answer. (Total 7 marks) 22. (a) Use the Euclidean algorithm to find gcd (12306, 2976). Hence give the general solution to the diophantine equation 12306x + 2976y = 996. IB Questionbank Mathematics Higher Level 3rd edition 4

23. (a) Given the linear congruence ax b(mod p), where a, b, p is a prime and gcd (a, p) = 1, show that x a p 2 b (mod p). (i) Solve 17x 14 (mod 21). (ii) Use the solution found in part (i) to find the general solution to the Diophantine equation 17x + 21y = 14. (10) 24. (a) (i) Given that a d (mod n) and b c (mod n) prove that (a + b) (c + d) (mod n). (ii) Hence solve the system 2x+ 5y 1(mod 6) x+ y 5(mod 6) Show that x 97 x + 1 0 (mod 97) has no solution. (11) 25. An arithmetic sequence has first term 2 and common difference 4. Another arithmetic sequence has first term 7 and common difference 5. Find the set of all numbers that are members of both sequences. 26. (a) Convert the decimal number 51966 to base 16. (i) Using the Euclidean algorithm, find the greatest common divisor, d, of 901 and 612. (c) (ii) Find integers p and q such that 901p + 612q = d. (iii) Find the least possible positive integers s and t such that 901s 612t = 85. In each of the following cases find the solutions, if any, of the given linear congruence. (i) (ii) 9x 3 (mod18); 9x 3 (mod15). (10) (Total 19 marks) 27. Solve the system of linear congruences x 1(mod 3); x 2(mod 5); x 3(mod 7). (Total 6 marks) IB Questionbank Mathematics Higher Level 3rd edition 5

28. (a) Find the general solution for the following system of congruences. N 3 (mod 11) N 4 (mod 9) N 0 (mod 7) Find all values of N such that 2000 N 4000. 29. (a) (i) One version of Fermat s little theorem states that, under certain conditions, a p 1 1(mod p). Show that this result is not valid when a = 4, p = 9 and state which condition is not satisfied. (ii) Given that 5 64 n(mod 7), where 0 n 6, find the value of n. (8) Find the general solution to the simultaneous congruences x 3(mod 4) 3x 2(mod 5). 30. (a) Given that ax b (mod p) where a, b, p, x +, p is prime and a is not a multiple of p, use Fermat s little theorem to show that x a p 2 b (mod p). Hence solve the simultaneous linear congruences 3x 4(mod 5) 5x 6(mod 7) giving your answer in the form x c (mod d). (8) 31. Two mathematicians are planning their wedding celebration and are trying to arrange the seating plan for the guests. The only restriction is that all tables must seat the same number of guests and each table must have more than one guest. There are fewer than 350 guests, but they have forgotten the exact number. However they remember that when they try to seat them with two at each table there is one guest left over. The same happens with tables of 3, 4, 5 and 6 guests. When there were 7 guests per table there were none left over. Find the number of guests. (Total 10 marks) IB Questionbank Mathematics Higher Level 3rd edition 6