The transition: Each student passes half his store of candies to the right. students with an odd number of candies eat one.

Similar documents
Bulgarian Math Olympiads with a Challenge Twist

Discrete Structures. Fall Homework3

Math 1: Solutions to Written Homework 1 Due Friday, October 3, 2008

A Constant Rate of Change Name Part 1

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Catalan Numbers. Table 1: Balanced Parentheses

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

YEAR 8 SCHEME OF WORK

Lab Manual. Program Design and File Structures (P): IT-219

Mathematics Background

Exam 2 Review. 2. What the difference is between an equation and an expression?

where each number (after the first two 1 s) is the sum of the previous two numbers.

Chapel Hill Math Circle: Symmetry and Fractals

UNIT B3 Number Sequences: Activities

Lesson 13: Exploring Factored Form

Exploration: Multiplying Fractions & Decimals Using an Area Model

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method.

CSE 20 DISCRETE MATH WINTER

The Probabilistic Method

Geometric Constructions

Combinatorics: The Fine Art of Counting

Intermediate Mathematics League of Eastern Massachusetts

Level 4 means that I can

Math 462: Review questions

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

Autumn Autumn 2 1. Spring 1 1

SECTION 5.1. Sequences

CPS Geometry Part 5 Ratios and Similarity

THE PRINCIPLE OF INDUCTION. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin

Year Nine Scheme of Work. Overview

SAT-CNF Is N P-complete

2017 SOLUTIONS (PRELIMINARY VERSION)

9.3 Hyperbolas and Rotation of Conics

1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation

Generating Functions

Math 13 Spring 13 Liberal Arts Mathematics Chapters 19&20 Test Name

Analytic Geometry Vocabulary Cards and Word Walls Important Notes for Teachers:

Performance Level Descriptors. Mathematics

Math Circles: Pigeons and Rams(ey)

TILING RECTANGLES SIMON RUBINSTEIN-SALZEDO

Standard Chapter/Unit Notes

NON-CALCULATOR ARITHMETIC

Mathematics 350 Section 6.3 Introduction to Fractals

Mathematics Curriculum

R - T (Gauss 2004) At the Gauss Store you earn 5 reward points for each $25 you spend. Stuart spent $200 and received points. Find.

Franklin Math Bowl 2008 Group Problem Solving Test Grade 6

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system

4. Use a loop to print the first 25 Fibonacci numbers. Do you need to store these values in a data structure such as an array or list?

Spreadsheets as Tools for Constructing Mathematical Concepts

C3 Numerical methods

I. Recursive Descriptions A phrase like to get the next term you add 2, which tells how to obtain

Confidence Level Red Amber Green

Geometry End of Course Review

Interactive Math Glossary Terms and Definitions

Sums and Geometry + =

Morgan County School District Re-3. Pre-Algebra 9 Skills Assessment Resources. Content and Essential Questions

Sample tasks from: Algebra Assessments Through the Common Core (Grades 6-12)

Using the Best of Both!

Math A Regents Exam 0601 Page 1

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

2 Geometry Solutions

Combinatorics: The Fine Art of Counting

6.001 Notes: Section 4.1

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving

RtI 7. Curriculum (219 topics additional topics)

ECE G205 Fundamentals of Computer Engineering Fall Exercises in Preparation to the Midterm

MPM 2DI EXAM REVIEW. Monday, June 25, :30 am 10:00 am ROOM 116 * A PENCIL, SCIENTIFIC CALCULATOR AND RULER ARE REQUIRED *

CTI, November 19, 2015

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLI. February 7, 2009 Second Round Three Hours

Grade 7 Math Curriculum Map Erin Murphy

COURSE: NUMERICAL ANALYSIS. LESSON: Methods for Solving Non-Linear Equations

In this lesson, students build fractals and track the growth of fractal measurements using tables and equations. Enduring Understanding

1. How many white tiles will be in Design 5 of the pattern? Explain your reasoning.

7. The Gauss-Bonnet theorem

Applications. 44 Stretching and Shrinking

1. (a) O(log n) algorithm for finding the logical AND of n bits with n processors

Excerpt from "Art of Problem Solving Volume 1: the Basics" 2014 AoPS Inc.

Student Name: Teacher: Date: Miami-Dade County Public Schools. Test: 9_12 Mathematics Geometry Exam 2

PITSCO Math Individualized Prescriptive Lessons (IPLs)

Unit 1, Lesson 1: Moving in the Plane

Chapter Fourteen Bonus Lessons: Algorithms and Efficiency

LP-Modelling. dr.ir. C.A.J. Hurkens Technische Universiteit Eindhoven. January 30, 2008

Math 5320, 3/28/18 Worksheet 26: Ruler and compass constructions. 1. Use your ruler and compass to construct a line perpendicular to the line below:

2.) From the set {A, B, C, D, E, F, G, H}, produce all of the four character combinations. Be sure that they are in lexicographic order.

1. Find f(1), f(2), f(3), and f(4) if f(n) is defined recursively by f(0) = 1 and for n = 0, 1, 2,

Indirect measure the measurement of an object through the known measure of another object.

The Geometry Semester A Examination will have the following types of items:

BMO Round 1 Problem 6 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Mapping Common Core State Standard Clusters and. Ohio Grade Level Indicator. Grade 5 Mathematics

Problem Set 4: Streams and Lazy Evaluation

Savio Salesian College. Mathematics Department

6th Bay Area Mathematical Olympiad

X Std. Topic Content Expected Learning Outcomes Mode of Transaction

Chapter 18 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal.

correlated to the Michigan High School Mathematics Content Expectations

To illustrate what is intended the following are three write ups by students. Diagonalization

Mississippi College and Career Readiness Standards for Mathematics Scaffolding Document. Grade 4

College Pre Calculus A Period. Weekly Review Sheet # 1 Assigned: Monday, 9/9/2013 Due: Friday, 9/13/2013

Transcription:

Kate s problem: The students are distributed around a circular table The teacher distributes candies to all the students, so that each student has an even number of candies The transition: Each student passes half his store of candies to the right students with an odd number of candies eat one After that is done, This game ends in finite time, with all students having the same number of candies Why? Let the number of students be N and the maximum stock of candies M, and let k be the number of students with M candies Theorem: If k < N, then either M decreases or k decreases Assuming k < N, there is one student with M candies such that the person to the left has M candies with M < M Then after the move, that student has M/ + M / candies, if even, or M/ + M / 1 otherwise; in either case, fewer candies A student with A candies has at most (A + M)/ candies after the move, and that is less than M, unless A = M So nobody new has M candies Thus, if k = 1, M decreases, otherwise k decreases So, there are at most M(N 1) moves that can be made before arriving at the situation where all students have the same number of candies In this game, 0 is a possibility - but try to find an example! A construction of the Icosahedron Take three congruent golden rectangles Call the line joining the midpoints of the shorter sides the major axis Place the rectangles in space so that they have the same center and the three major axes are mutually orthogonal Now the vertices of the rectangles (1 in all) are the vertices of the icosahedron 1

A Way of Looking at Fibonacci Numbers Utah Teachers Circle, September 4, 007 A recursive algorithm is a procedure determined by two parts: A An initial position; B A rule for getting from one position to the next Example: A Start at 1; B Given a number, add 1 It is plain to see that this gives us the counting numbers 1,,, as far as we want to go We can say that, for this algorithm the nth output is n Another example: A Start at 1; B At the nth step, add n Here, the nth number is 1 + + + + n Can you show that this is 1 n(n + 1)? Let a n be the nth number Draw a square (n + 1) (n + 1) array of small squares There are n + 1 squares on the diagonal, a n square both above and below the diagonal Thus (n + 1) = a n + (n + 1) + a n, hence the result Or, proceed by induction which works since 1 (n 1)(n) + n = 1 n(n + 1) Another example: A Start at 1; B At the nth step, multipy by n Here, the nth number is n!, which of course is a symbol for what we have just done; the only way to calculate n! is to multiply the result at hand by the next integer More examples: (A) a 0, a 1 any two numbers ; a n = (a n 1 + a n )/ ;

Here the sequence is clearly bounded; in fact each term is between its two predecessors suggests convergence Assuming convergence, can you find the limit? This Here s the trick: Find an r such that the sequence r n satisfies the recursion relation: which has the roots r = 1 (r + 1), r = 1 ± 8 4 = 1, 1 So the sequences {1, 1, 1, and 5, +5, 15,, ( 5) n, both satisfy the recursion relation So does any linear combination of these So find coefficients α, β such that a 0 = α + β( 1 )0, a 1 = α + β( 1 )1 We get this closed form: a n = a 0 + a 1 which clearly converges to (a 0 + a 1 )/ + (a 0 a 1 )( 1 )n (B) a 0 any number ; a n = 1 + 1 a n 1 We ll return to this sequence later In the meantime, think about what its limit can be Now, let s start a new idea Consider a line of n squares and piles of two types of tiles: 1-tiles are squares the size of the squares forming the line, and -tiles are two such squares with a common side Question: In how many ways can the line be covered by such tiles?

Let f n be the number of ways to cover a line of length n We can calculate the first few values of f n f 1 = 1, obviously f = : we can cover with two 1-tiles or 1 -tiles f = : there is one way using no -tiles, and two ways using 1 -tile f 4 = 5: no -tiles: 1 way; one -tile: ways; two -tiles: 1 way And so forth : f 5 = 8, f 6 = 1, Can you verify a recursion relation for this sequence? Identity 1 f 1 = 1, f n = f n 1 + f n Given a tiling, it ends in either a 1-tile or a -tile We get f n 1 tilings that end in a 1-tile and f n tilings that end in a -tile This is the Fibonacci sequence, and a wonderful way of describing it, leading to relatively easy combinatorial ways of deriving identities For example, let s try to generalize the way we counted the first few values to get another formula for f n Given n, in how many ways can we tile the n-line using i -tiles? Hint: you ll need to know the combinatorial coefficient n-choose-m ( n m) Answer: Since each tile covers two squares, the total number of 1-tiles used will be n i, so the total number of tiles used is n i We can then conceive of the line as formed of n i spaces, of which i are to filled with -tiles and the remainder with 1-tiles So the answer is the number of ways to select i spaces from n i spaces This is and so we see that Identity f n = ( ) n + 0 ( ) n i = i ( n 1 1 ) + (n i)! (n i)!i! ( n ) + ( n ) +, where means we keep adding terms so long as they make sense (i n 1) Let s now look for other ways of counting the number of tilings, f n For each k, suppose the last -tile covers squares k + 1 and k + What identity does this lead to? We cover the squares up to (and including) the kth square any way we please, but after the k + th square, they are all 1-tiles Thus there are f k tilings with the last -tile in position k + 1; k + We only go up to f n, and finally there is the tiling with no -tiles Thus Identity f n = f 0 + f 1 + f + f n + 1 4

Now suppose the last 1-tile is in the k + 1 position There are f k such tilings, since every tile thereafter is a -tile In particular, we must have n (k + 1) even, and so we better break this up into two cases n is odd In this case, since n (k + 1) must be even, k can only be an even number Thus Identity 4 f n+1 = f 0 + f + f 4 + f n n is even Then we can only have k odd, and besides there is one tiling with no 1-tiles, so Identity 5 f n = f 1 + f + f 5 + f n 1 + 1 Now, put an n-line directly after an m-line and count the m + n tilings where there is a break at this junction, and those where a -tile bridging the two lines What identity does this produce? There are f m f n tiles with a break as described, and f m 1 f n 1 tiles with no break there Thus Identity 6 f m+n = f m f n + f m 1 f n 1 In particular Identity 7 f n = f n + f n 1 Let s start again with f m+n, and iterate the recursion relation n times What do you get? f m+n = f m+n 1 + f m+n f m+n = f m+n + f m+n + f m+n + f m+n 4 or f m+n = f m+n + f m+n + f m+n 4 f m+n = (f m+n + f m+n 4 ) + (f m+n 4 + (f m+n 5 ) + (f m+n 5 + f m+n 6 ) f m+n = f m+n + f m+n 4 + f m+n 5 + f m+n 6 If we do this again we start with f m+n 4, and going down by one, the coefficients will be 1,4,6,4,1 In other words, the recursion is the same as that for Pascal s triangle, and in n steps we end up with Identity 8 f m+n = f m + 1 Cnf m 1 + Cnf m + n 1 C n f 1 + f 0 We return to the sequence defined recursively by and calculate a few values: a 1 = 1; a n = 1 + 1 a n 1, or 1,,, 5, 8 5, 1 8, 1 1, 4 1, 55 4, 89 55 5

We seem to be getting the quotients of consecutive members of the Fibonacci sequence Can you show this, ie, that a n = f n f n 1 Show that the quotients of consecutive fibonaccis satisfies the recursion relation and the initial condition: f n = f n 1 + f n = 1 + f n 1 = 1 + f n 1 f n 1 f n 1 f n 1 /f n Now let s write the sequence in decimal form: 1,, 15, 166667, 16, 165, 16158, 161905, 161764, 161818, 161797, 161806, 16180 It looks like the sequence is settling down, somewhere around 16180 This suggests two things: that we show that the sequence actually converges, and find the limit Assuming the first, can you find the limit? Well, we can let n in the recursion equation, getting, where a represents the limit, a = 1 + 1 a This leads to the quadratic equation a a 1 = 0 which has the roots Since a 1 (why?), we must have which is 16180989 r = 1 ± 5 r = 1 + 5, So, the question remains: why does the sequence converge? That comes out of another identity that can be proven using the idea of tilings of lines of squares Let s take two lines of length n Then the number of different ways of tiling the two simultaneously is clearly f n But now, let s count that another way Place the second line just below the first line, but offset by just one square Given a tiling of the two together, we ll say that it has a fault at square k (counting along the top line) if a new tile starts at square k on both lines Now, given a tiling, suppose it has faults and the first one is at square k Exchange the tails of the two lines, getting a tiling of two lines, the top one of length n + 1, and the bottom one of length n 1 This gives a correspondence of of all tilings-with-faults of two lines of length n with all tilings-with-faults of two lines of lengths n 1 and n + 1 Finally, are there any tilings without faults in either case? We have to consider the even and odd cases separately If n is even, it is easy to see that the only no-fault tiling of two n lines (so arranged is that with all -tiles Furthermore, there is no fault-free tiling of the two lines of lengths n 1 and n + 1 Thus n even : f n = f n+1 f n 1 + 1 6

In case n is odd, each line must have at least 1 1-tile, from which we can conclude that all tilings have a fault However, the two lines of lengths n 1 and n+1 have a no-fault tiling with all -tiles Thus n odd : f n = f n+1 f n 1 1, or, put together: Identity 9 forall n : f n = f n+1 f n 1 + ( 1) n This then gives us Identity 10 f n = f n+1 + ( 1)n f n 1 f n f n f n 1 One last point The equation for this sequence is the same as the one we d get for the fibonacci recursion, trying the sequence a n = r n We conclude, in the same way as we did for the sequence of successive averages, that the fibonacci sequence has to be a linear combination of the roots r = 1± 5 If we fit such a linear combination to the initial values, we obtain Identity 11 f n = 1 [( 1 + 5 ) n ( 1 5 ) n ] + 5 Art Benjamin s magic trick: ask the participants to pick two integers and put them in a column In the third row, write the sum of the two preceding rows, and continue, up to the tenth row Now sum all the rows The sum is 11 times the 7th row Example 7 10 17 7 44 71 115 186 01 sum: 781 7