Egyptian Fractions: Part II

Similar documents
Egyptian Fractions: Part II

Egyptian Fractions: Part I

Egyptian Fractions: Part I

School of Business. Blank Page

Module 9: Further Numbers and Equations. Numbers and Indices. The aim of this lesson is to enable you to: work with rational and irrational numbers

PROBLEM SET 1 SOLUTIONS 1287 = , 403 = , 78 = 13 6.

MCS 115 Exam 2 Solutions Apr 26, 2018

Here is a general Factoring Strategy that you should use to factor polynomials. 1. Always factor out the GCF(Greatest Common Factor) first.

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. 3.4: Proof by Cases

Grade 6 Math Circles November 1 st /2 nd. Egyptian Mathematics

EE6-16 Equivalent Expressions Pages

CHAPTER 11. SEQUENCES AND SERIES 114. a 2 = 2 p 3 a 3 = 3 p 4 a 4 = 4 p 5 a 5 = 5 p 6. n +1. 2n p 2n +1

Ciphering Round Junior Varsity League

At first numbers were used only for counting, and 1, 2, 3,... were all that was needed. These are called positive integers.

Section 2.1: Reduce Rational Expressions

Summer Assignment for Students Entering Algebra 1 Level 3

1.1 Different types of numbers

1.17 Triangle Numbers

Math 3450 Homework Solutions

Week 7 Algebra 1 Assignment:

Zeroing the baseball indicator and the chirality of triples

Problems About Combining Problems About Separating (page 59)

At the start of the term, we saw the following formula for computing the sum of the first n integers:

Polynomial Degree and Finite Differences

Homework 3 Solutions, Math 55

HMMT February 2018 February 10, 2018

Assignment 3 Logic and Reasoning KEY

Answers to the Exercises -- Chapter 1

Baltic Way 2003 Riga, November 2, 2003

Grade 2 MATHEMATICS WINTER STUDENT ENRICHMENT PACKET

Predicate Logic. Predicates. Math 173 February 9, 2010

PGSS Discrete Math Solutions to Problem Set #4. Note: signifies the end of a problem, and signifies the end of a proof.

Math 425 Fall All About Zero

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 2 NOVEMBER 2016

June If you want, you may scan your assignment and convert it to a.pdf file and it to me.

Exercises. Template for Proofs by Mathematical Induction

Announcements. CompSci 102 Discrete Math for Computer Science. Chap. 3.1 Algorithms. Specifying Algorithms

1Number ONLINE PAGE PROOFS. systems: real and complex. 1.1 Kick off with CAS

MTH 65 WS 3 ( ) Radical Expressions

Algorithms: COMP3121/3821/9101/9801

INEQUALITIES. Inequalities PASSPORT

The following document was developed by Learning Materials Production, OTEN, DET.

Indices. Topic 1. Why learn this? What do you know? Learning sequence. number and algebra

Assignment 16 Assigned Weds Oct 11

Use mathematical induction in Exercises 3 17 to prove summation formulae. Be sure to identify where you use the inductive hypothesis.

Homework 7 Solutions to Selected Problems

A Division Algorithm Approach to p-adic Sylvester Expansions

Cool Results on Primes

we make slices perpendicular to the x-axis. If the slices are thin enough, they resemble x cylinders or discs. The formula for the x

Generalized Geometric Series, The Ratio Comparison Test and Raabe s Test

Grade 8 Please show all work. Do not use a calculator! Please refer to reference section and examples.

Algebra I Notes Concept 00b: Review Properties of Integer Exponents

CONTENTS. iii v viii FOREWORD PREFACE STUDENTS EVALUATION IN MATHEMATICS AT SECONDARY STAGE

Answer ALL questions. Each question is worth 1 mark. Show All working in the working column

3.3 Limits and Infinity

Solving Equations. A: Solving One-Variable Equations. One Step x + 6 = 9-3y = 15. Two Step 2a 3 6. Algebra 2 Chapter 1 Notes 1.4 Solving Equations

Upper Bounds for Stern s Diatomic Sequence and Related Sequences

All the examples in this worksheet and all the answers to questions are available as answer sheets or videos.

#A50 INTEGERS 14 (2014) ON RATS SEQUENCES IN GENERAL BASES

Math 8. Unit 1 Integers Unit 2 Equations Unit 3 Exponents Unit 4 Graphing. Name Teacher Period

Common Core Algebra Regents Review

and problem sheet 1

RED. Name: Math 290 Fall 2016 Sample Exam 3

1.4 Properties of Real Numbers and Algebraic Expressions

C241 Homework Assignment 8

Inequalities. Inequalities. Curriculum Ready.

PENGUIN READERS. Five Famous Fairy Tales

ASSIGNMENT 1 SOLUTIONS

Lecture 9 Classification of States

Section A Number Facts

Course 15 Numbers and Their Properties

Solving Systems of Linear Equations Symbolically

Conceptual Explanations: Logarithms

An Algebraic Approach to the Immutability of the Slope of a Line

Intermediate Mathematics League of Eastern Massachusetts

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

STEP Support Programme. Hints and Partial Solutions for Assignment 17

As shown in the text, we can write an arbitrary azimuthally-symmetric solution to Laplace s equation in spherical coordinates as:

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2

1 Gambler s Ruin Problem

Math 20 Spring Discrete Probability. Midterm Exam

a b a b ab b b b Math 154B Elementary Algebra Spring 2012

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

FIFTEENTH ANNUAL NORTH CENTRAL SECTION MAA TEAM CONTEST

Expansion formula using properties of dot product (analogous to FOIL in algebra): u v 2 u v u v u u 2u v v v u 2 2u v v 2

NORTHWESTERN UNIVERSITY Thrusday, Oct 6th, 2011 ANSWERS FALL 2011 NU PUTNAM SELECTION TEST

Graphs and polynomials

Adding and Subtracting Integers

Exploring Lucas s Theorem. Abstract: Lucas s Theorem is used to express the remainder of the binomial coefficient of any two

Finite Mathematics : A Business Approach

CS2336 Discrete Mathematics

What s the Average? Stu Schwartz

Senior Exam Page 1 of How many Februarys since 1900 have had five Saturdays?

EGYPTIAN FRACTIONS WITH EACH DENOMINATOR HAVING THREE DISTINCT PRIME DIVISORS

= - = = 1 = -2 = 3. Jeremy can plant 10 trees in 4 hours. How many trees can he plant in 10 hours? A. 16

50 Must Solve Algebra Questions

Grade 7/8 Math Circles. Mathematical Thinking

International Mathematical Olympiad. Preliminary Selection Contest 2017 Hong Kong. Outline of Solutions 5. 3*

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

Transcription:

Egyptian Fractions: Part II Prepared y: Eli Jaffe Octoer 15, 2017 1 Will It End 1. Consider the following algorithm for eating some initial amount of cake. Step 1: Eat 1 of the remaining amount of cake. 2 Step 2: If any cake remains, repeat from Step 1. (a) Let s start with one whole cake. Will this algorithm finish? If so, how many times will it repeat each step? If not, why not? No. No matter how much cake is in front of you at any step, eating half of it will never finish it. () Is there any initial amount of cake for which this algorithm will successfully finish? Why or why not? No. Same reason as part (a) 1

(c) Design an algorithm for eating one cake that will always finish. Your algorithm should have just two steps. Answers vary, ut an example would e Step 1: Eat 1/5 of a cake Step 2: If there is any cake remaining, repeat from Step 1. (d) How do you know your algorithm will always finish? After Step 1 has repeated 5 times, I will have eaten 5 fifths of a cake, which is one whole cake. Thus I will e done. (e) Let n e a positive integer. Suppose you use your algorithm to finish n cakes. You do this y using your algorithm to finish the first cake, then use it again to finish the second, and so on to finish all n cakes. How many times will you use each step of your algorithm? In other words, how many loops does your algorithm take to finish n cakes? My algorithm takes 5 loops to finish one cake. So, it will take 5n loops to finish n cakes. 2

2 Every Fraction has an EFR We want to prove that every fraction has at least one EFR. We have an algorithm for finding EFRs, the greedy algorithm, which is written elow. Rememer, we egin with r = a, our initial fraction. Step 1. Calculate 1 r. Step 2. Find n such that n 1 < 1 r n. Step 3. Calculate r 1. Replace r with this result. n Step 4. Write 1 in your EFR. If r > 0, return to Step 1. If r = 0, your n EFR is complete. What we don t know is whether this algorithm works for every initial fraction a. For some fractions, the EFR given y the greedy algorithm is very long. For example, using the greedy algorithm to find an EFR gives the result for 37 235 37 235 = 1 7 + 1 69 + 1 10319 + 1 292814524 + 1 342961381568571780 Based on this, it seems possile that the greedy algorithm could end up leaving smaller and smaller pieces without ever finishing. How can we know whether or not our algorithm will always work? 3

2. Suppose we are in the middle of performing the greedy algorithm. Suppose the current remainder is r = 1. How many more loops will it 100 take for the algorithm to finish? One more loop. The greedy algorithm ends when there is no cake remaining. This happens precisely one loop after the remainder is a unit fraction. Thus, to prove our algorithm will always finish, we can simply show that it will eventually produce a unit fraction as the remainder. 3. (a) Perform the greedy algorithm to find an EFR for 59. Keep track 60 of your remainder, r, as the algorithm progresses. 59/60-1/2 = 29/60 <----------- r1 29/60-1/3 = 9/60 <----------- r2 9/60-1/7 = 1/140 <----------- r3 1/140-1/140 = 0 So, 59/60 = 1/2 + 1/3 + 1/7 + 1/140 4

() What is the value of r after one loop? r1 = 29/60 (c) What is the value of r after two loops? r2 = 9/60 or 3/20 (d) What is the value of r after three loops? r3 = 1/140 (e) Examine your answers to ()-(d). As the algorithm progresses, how does the numerator of r change? The numerator decreases each loop. As the algorithm goes on, the the numerator of r seems to e decreasing. To prove that this is true, we must take an aritrary fraction a and perform one loop of the greedy algorithm, calculating the remainder, r. Then, we must prove that the numerator of r is less than the original numerator, a. 5

4. Let a e a fraction. Let 1 e the largest unit fraction less than or equal n to a. That is, 1 n a < 1 n 1 This is equivalent to the statement that n 1 < a n (a) Compute r = a 1 n y finding the common denominator. a/ - 1/n = (an - )/n () Let r = p where q p = an and q = n Let s see how the numerator changed when we went from r = a to r = p. The numerators are a and p, respectively. Find the value q of the ratio p. a p/a = (an - )/a = (an)/a - /a = n - (/a) (c) Compare p a with 1. (Hint: You can use the inequality n 1 < a ) Since n - 1 < /a, we must have that n - (/a) < 1 which says precisely that p/a is less than 1. 6

(d) Compare p and a. Since p/a < 1, we must have p < a That is, the numerator of our new remainder is strictly less than the numerator of the previous remainder. 5. Explain why the numerator of the remainder must e 1 after some finite numer of loops. The numerator of the remainder is an integer. After each loop, its value decreases y at least one. Since the starting numerator is finite, it will eventually reach 1. 6. Summarize this argument and explain how we know that the greedy algorithm will always finish. Since the numerator of the remainder is a finite integer and it is constantly decreasing, it will eventually reach 1. When it reaches 1, the loop that follows will complete the algorithm. Thus, the algorithm will always finish. By proving that our greedy algorithm will always finish, we have proven that every fraction has at least one EFR. In Part I, we proved that every fraction with at least one EFR has infinitely many different EFRs. 7

7. Comine these two statements. For a given fraction a, how many different EFRs for a exist? Infinitely many EFRs exist for any fraction a/. We have now answered all three of our ig questions. 1) Every fraction has at least one EFR. 2) To find an EFR for a given fraction, we can use the greedy algorithm, which always terminates. 3) Every fraction has infinitely many different EFRs. The rest of this packet will e devoted to proving interesting properties of EFRs. 8

3 More Properties of EFRs 8. Let n e an odd numer. Prove that there exists an EFR for 2 n of length 2. That is, 2 n = 1 k + 1 m for some integers k and m. (Hint: Start y writing n = 2c 1 for some integer c.) We simply perform the greedy algorithm. The largest unit fraction less than or equal to 2/(2c-1) is 1/c. This is ecause 1/c = 2/2c < 2/2c-1 < 2/2c-2 = 1/(c-1) You can verify this easily. The largest unit fraction less than or equal to 2/7 is 1/4, ecause 7 = 2(4) - 1. Sutracting this to get our remainder, 2/(2c-1) - 1/c = (2c - (2c - 1) ) / c(2c - 1) So, when n = 2c - 1, 2/n = 1/c + 1/cn = 1/c(2c-1) = 1/cn 9

9. In 1954, mathematician Roert Breusch proved the following theorem: Theorem 1. Suppose a is a fraction with an odd denominator. Then there exists an EFR for a consisting entirely of unit fractions with odd denominators. Below are some examples of this fact: 1 3 = 1 5 + 1 9 + 1 45 1 5 = 1 9 + 1 15 + 1 45 5 7 = 1 3 + 1 5 + 1 9 + 1 21 + 1 45 2 3 = 1 3 + 1 5 + 1 9 + 1 45 4 5 = 1 3 + 1 5 + 1 7 + 1 15 + 1 21 + 1 105 All of these EFRs have odd denominators only. The first three fractions in the list have odd numerators. The last two have even numerators. (a) Examine the lengths of these EFRs. Is there a pattern? (Hint: is the length of each EFR odd or even?) For fractions with odd numerators, their EFR with odd denominators only has an odd length. For fractions with even numerators, their EFR with odd denominators only has an even length. 10

() Let a and e odd numers. That is, for some natural numers m and n, a = 2m + 1 and = 2n + 1 Consider the sum 1 a + 1. i. Compute 1 + 1. (Hint: rewrite 1 and 1 and find the common a a denominator.) 1/(2m+1) + 1/(2n+1) = ( (2n+1) + (2m+1) ) / (2n+1)(2m+1) = 2(n + m + 1) / 2(2mn + m + n) + 1 ii. Is the numerator of the sum even or odd? It is even, ecause it is of the form 2p, in this case p = n + m + 1 iii. Is the denominator of the sum even or odd? It is odd ecause it is of the form 2q+1, in this case q = (2mn + m + n) 11

(c) Now, suppose we include another odd unit fraction, 1 c, where c = 2k + 1. i. Compute the sum 1 + 1 + 1 y finding the common denominator. a c We know 1/a + 1/ = 2p/2q+1 for p and q as defined aove. So, 2p/(2q+1) + 1/(2k+1) = ( 2p(2k+1) + (2q+1) ) / (2q+1)(2k+1) = ( 2(2pk + p + q) + 1 ) / ( 2(2qk + q + k) + 1 ) ii. Is the numerator of this new sum even or odd? It is odd ecause it is of the form 2r+1, in this case r = 2pk + p + q iii. Is the denominator of this new sum even or odd? It is odd ecause it is of the form 2s+1, in this case s = 2qk + q + k (d) Suppose an EFR for a fraction a has length 4 and consists entirely of fractions with odd denominators. Is a even or odd? The numerator must e even. 12

(e) Suppose an EFR for a fraction a has length 5 and consists entirely of fractions with odd denominators. Is a even or odd? The numerator must e odd. (f) Suppose an EFR for a fraction a has length n and consists entirely of fractions with odd denominators. i. Suppose n is odd. Is a even or odd? The numerator must e odd. ii. Suppose n is even. Is a even or odd? The numerator must e even. 13

4 Bonus Prolems 10. A mother is leaving her inheritance to her children in a will. She decides that she will leave 1 of her fortune to her eldest son, 1 to her 3 5 only daughter, and her other two sons will split the rest. If she leaves a total of $100,000 to all of her children, how much more money will the oldest son receive than the youngest son? Her oldest son receives $33,333.33. Her daughter receives $20,000, so the younger sons will each receive half of $46,666.67. Thus her youngest son will receive $23,3333.33 plus or minus one cent from rounding. 11. A father has recently passed away, and his many sons are coming to collect their inheritance. The first son walks into the office and collects $100 plus 1 of the remaining money. Then, the second son walks into 6 the office and collects $200 plus 1 of the remaining money. Next, the 6 third son walks into the office and collects $300 plus 1 of the remaining 6 money. The rest of the sons follow in the same pattern. After all of the inheritance has een distriuted, all of the sons end up with the same amount of money. (a) How many sons did the father have? 5 sons () What was the total amount of inheritance, and how much did each son receive? $2,500. Each son received $500. 14

12. A man with 12 horses has three sons, Pat, Chris, and Sam. The man writes in his will to leave 1 of his horses to Pat, 1 1 to Chris, and to 2 3 12 Sam. However, just after he died, one of his horses died too, leaving only 11. How can the children divide the 11 remaining horses so that the will is still satisfied? The father only promised to leave 11/12 of his horses. So they can simply decide that none of the sons receive the dead horse. 13. Can you arrange the numerals from 1 to 9 (1, 2, 3, 4, 5, 6, 7, 8, 9) in a single fraction that equals exactly 1? An example that doesn t work is 3 7192 38456 0.187 5823 / 17469 or 5832 / 17496 15