Activity 1-8: Repunits www.carom-maths.co.uk. 111, 11111, 11111111111, 11111111111111 are all repunits. They have received a lot of attention down the.

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved.
Advertisements

Activity 1-16: The Distribution Of Prime Numbers
Study Guides Quantitative - Arithmetic - Numbers, Divisibility Test, HCF and LCM Mycatstudy.com.
Thinking Mathematically
4.2 Factors and Divisibility
5.1 Number Theory. The study of numbers and their properties. The numbers we use to count are called the Natural Numbers or Counting Numbers.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides.
Factors, Divisibility, & Prime / Composite numbers
Thinking Mathematically
1 Section 2.4 The Integers and Division. 2 Number Theory Branch of mathematics that includes (among other things): –divisibility –greatest common divisor.
Chapter Primes and Greatest Common Divisors ‒Primes ‒Greatest common divisors and least common multiples 1.
Basic properties of the integers
CSC2110 Discrete Mathematics Tutorial 5 GCD and Modular Arithmetic
Elementary Number Theory and Methods of Proof. Basic Definitions An integer n is an even number if there exists an integer k such that n = 2k. An integer.
Chapter II. THE INTEGERS
6/20/2015 5:05 AMNumerical Algorithms1 x x1x
Properties of the Integers: Mathematical Induction
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
BY MISS FARAH ADIBAH ADNAN IMK
The Integers and Division
Multiples 1 X 2 = 22 X 2 = 43 X 2 = 6 4 X 2 = 8 What do you call 2,4,6,8 ?Multiples of 2 Why?
Divisibility October 8, Divisibility If a and b are integers and a  0, then the statement that a divides b means that there is an integer c such.
Section 5.1 Number Theory.
Activity 2-17 : The ABC Conjecture
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 3 (Part 2): The Fundamentals: Algorithms, the.
1 Properties of Integers Objectives At the end of this unit, students should be able to: State the division algorithm Apply the division algorithm Find.
Quantitative - Arithmetic - Numbers, Divisibility Test, HCF and LCM
Activity 1-15: Ergodic mathematics
Numbers MST101. Number Types 1.Counting Numbers (natural numbers) 2.Whole Numbers 3.Fractions – represented by a pair of whole numbers a/b where b ≠ 0.
Activity 2-17: Zeroes of a Recurrence Relation
Activity 2-20: Pearl Tilings
Multiples, Factors, Primes & Composite Numbers
Activity 2-2: Mapping a set to itself
5.1 Divisibility. Natural Numbers The set of natural numbers or counting numbers is {1,2,3,4,5,6,…}
Activity 2-1: The Game of Life
YSLInformation Security -- Public-Key Cryptography1 Prime and Relatively Prime Numbers Divisors: We say that b  0 divides a if a = mb for some m, where.
Divisibility Rules!.
Activity 1-7: The Overlapping Circles
Copyright © Cengage Learning. All rights reserved. 1 Whole Numbers.
Chapter 2 (Part 1): The Fundamentals: Algorithms, the Integers & Matrices The Integers and Division (Section 2.4)
Activity 2-15: Elliptic curves
Week 3 - Friday.  What did we talk about last time?  Proving universal statements  Disproving existential statements  Rational numbers  Proof formatting.
The Four Colour Theorem
Activity 1-17: Infinity.
Activity 2-13: Triangle Centres
Activity 1-13: Descent This problem is due to Euler. Task: Show that the equation x 3 + 2y 3 + 4z 3 = 0 has the sole solution (0,
Factor A factor of an integer is any integer that divides the given integer with no remainder.
Week 3 - Friday.  What did we talk about last time?  Proving existential statements  Disproving universal statements  Proving universal statements.
Divisibility Rules. Divisibility What is Divisibility ? Divisibility means that after dividing, there will be NO remainder.
MTH 231 Section 4.1 Divisibility of Natural Numbers.
Divisibility Rules. What Are Divisibility Rules? They are a quick way to tell if one number can be completely divided into another without a remainder.
NUMBER SYSTEM.
Ex) Find the common multiples of 3 and 4. Sol) Multiples of 3 = 3,6,9,12,15,18,21,24,27,30,33………… Multiples of 4 = 4,8,12,16,20,24,28,32,36…………….. Common.
Activity 2-11: Quadratic Reciprocity
Part II – Theory and Computations. Major Ideas....
Slide Copyright © 2009 Pearson Education, Inc. 5.1 Number Theory.
Activity 1-12 : Multiple-free sets
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
Do Now Write as an exponent 3 x 3 x 3 x 3 4 x 4 x 4 x 4 x 4 5 x 5 x 5 What is a factor? Define in your own words.
Number Theory: Prime and Composite Numbers
Number Theory Lecture 1 Text book: Discrete Mathematics and its Applications, 7 th Edition.
Section 5.1 Number Theory.
Activity 2-18: Cyclotomic polynomials
Thinking Critically 4.1 Divisibility Of Natural Numbers
Exercise 24 ÷ 2 12.
Section 5.1 Number Theory.
Section 5.1 Number Theory.
Activity 2-18: Cyclotomic polynomials
From the last time: gcd(a, b) can be characterized in two different ways: It is the least positive value of ax + by where x and y range over integers.
Presentation transcript:

Activity 1-8: Repunits

111, 11111, , are all repunits. They have received a lot of attention down the years. In particular, when are they prime? R 1 = 1, no, R 2 = 11, yes, R 3 = 111, no...

= = 111  Task: prove that any repunit having a composite (non-prime) number of digits must be composite. A common move with repunits is to consider their value in bases other than 10. The above argument is exactly the same in bases other than 10.

So for a repunit to be a prime in base 10 is rare. Conjecture: there are infinitely many repunit primes in base 10.

When is a repunit square? Well, 1 is a square – but if we search for others, they seem hard to find. Conjecture: 1 is the only square repunit. Task: how could we prove this?

How to approach this? Firstly, what remainders can a square have if you divide by 4? (2n) 2 = 4n 2, and so has remainder 0, while (2n+1) 2 = 4n 2 + 4n + 1, and so has remainder 1. Conclusion: a square can never have remainder 2 or 3 when divided by 4.

Now consider is a square. For repunits bigger than these, We have = goes into , and leaves a remainder 3 when it divides 11. So cannot be a square, and 1 is the only square repunit. 11 is not a square.

Another theorem: if a number is not divisible by either 2 or 5, then some multiple of this number must be a repunit. 3  37 =  =  1 =  8547 =  =  =  5291= Theorem: 1 is the only square repunit. And so we have...

We can use a theorem due to Euler. Leonhard Euler, Swiss ( ) How to prove this?

Define  (n) to be the number of numbers in {1, 2, 3…, n - 1} that are coprime with n. So  (2) = 1,  (3) = 2,  (4) = 2,  (5) = 4, Task: find  (5),  (9),  (45). What do you notice? The numbers a and b are COPRIME if gcd(a, b) = 1, where gcd = ‘greatest common divisor’.  (20) = 8.

It turns out that  (n) (the totient function) is what we call multiplicative. That is to say, if a and b are coprime, then  (ab) =  (a)  (b). Now Euler’s Theorem tells us: if a and b are coprime, then a divides b  (a) – 1. Thus  (45) =  (9)  (5). So, for example, since 11 and 13 are coprime, 11 divides 13  (11)  1, = 11 x and 13 divides 11  (13)  1, = 13 x

Now suppose a and 10 have no common factor. So by Euler’s Theorem, 9a divides 10  (9a)  1. Then 9a and 10 have no common factor. So 10  (9a)  1 = 9a  k, for some k. So a  k = (10  (9a)  1)/9, which is a repunit. Thus some multiple of a is a repunit. Note that a repunit is of the form (10 n – 1)/9.

Are there any numbers that are repunits in more than one base? 31 = 111 (base 5) = (base 2) 8191 = 111 (base 90) = (base 2) Goormaghtigh Conjecture: these are the only two.

With thanks to: Shaun Stevens, for his help and advice. Wikipedia, for another excellent article. Carom is written by Jonny Griffiths,