Subtraction games. Chapter The Bachet game
|
|
- Anissa Bates
- 6 years ago
- Views:
Transcription
1 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 winning positions in the form of a decreasing sequence of nonnegative integers, such that if you secure one of these positions, then your opponent cannot secure any of the winning positions, and no matter how he moves, you can always secure a (smaller) winning positions. By keeping track of these winning positions, you eventually secure 0 and win the game. In the present example (the Bachet game), the winning positions are precisely the multiples of d. Proof. If Player A occupies position kd, and his opponent subtract a < d, then A subtracts (d a) and occupies occupies position (k 1)d. The same strategy allows A to get to 0 through the multiples of d.
2 302 Subtraction games 7.2 The Sprague-Grundy sequence Let G be a two-person counter game in which two players alternately remove a positive amount of counters according to certain specified rules. The Sprague-Grundy sequence of G is the sequence (g(n)) of nonnegative integers defined recursively as follows. (1) g(n) = 0 for all n which have no legal move to another number. In particular, g(0) = 0. (2) Suppose from position n it is possible to move to any of positions m 1, m 2,..., m k, (all < n), then g(n) is the smallest nonnegative integer different from g(m 1 ), g(m 2 ),..., g(m k ). Theorem 7.1. The player who secures a position n with g(n) = 0 has a winning strategy. Example 7.1. The Bachet game: n g(n) , , 1, 0 3. d 1 (d 2),...,1, 0 d 1 d (d 1),...,1 0. More generally, g(kd + a) = a for integers k and a satisfying 0 a < d. The Sprague-Grundy sequence is the periodic sequence with period 0, 1,..., d 1. The winning positions are precisely the multiples of d. Example 7.2. The trivial counter game. Two players alternately subtract any positive amount. The only winning position is 0. The first player wins by removing all counters. In this case, g(n) = n for every n.
3 7.3 Subtraction of powers of Subtraction of powers of 2 n g(n) , , , 2, , 3, , 4, , 5, , 6, 4, , 7, 5, , 8, 6, 2 1 This suggests that the winning positions are the multiples of 3. Proof. If Player A occupies a multiple of 3, any move by Player B will results in a position 3k + 1 or 3k + 2. Player A can get to a smaller multiple of 3 by subtracting 1 or 2 accordingly. Exercise 1. What are the winning positions in the game of subtraction of powers of 3? Answer. Even numbers. 2. What are the winning positions in the game of subtraction of prime numbers or 1? Answer. Multiples of What are the winning positions in the game of subtraction of a proper divisor of the current number (allowing 1 but not the number itself)? Note that 1 is not a proper divisor of itself Answer. Odd numbers except 1. Solution. The clue is that all factors of an odd number are odd. Subtracting an odd leaves an even number. Hence the winning strategy is to leave an odd number so that you opponent will always leave you an even number. From this you get to an odd number by subtracting 1.
4 304 Subtraction games 7.4 Subtraction of square numbers Two players alternately subtract a positive square number. We calculate the Sprague-Grundy sequence. n g(n) , , , , , , 5, , 6, 1 0 The values of n 500 for which g(n) = 0 are as follows: 1 These are the winning positions Suppose we start with 74. Player A can subtract 9 to get to 65, or subtract 64 to get 10, which have value 0. In the latter case, B may move to 9, 6 or 1. A clearly wins if B moves to 9 or 1. But if B moves to 6, then A can move to 5 or 2 and win. Exercise 1. How would you win if the starting number is 200? or 500? 1 [Smith, p.68] incorrectly asserts that this sequence is periodic, with period 5.
5 7.5 More difficult games More difficult games 1. Subtraction of proper divisor of current number (not allowing 1 and the number itself). The winning positions within 500 are as follows Subtraction of primes (not allowing 1). The winning positions within 500 are as follows
6 306 Subtraction games
7 Chapter 8 The games of Euclid and Wythoff 8.1 The game of Euclid Two players alternately remove chips from two piles of a and b chips respectively. A move consists of removing a multiple of one pile from the other pile. The winner is the one who takes the last chip in one of the piles. Preliminary problem: Find a constant k such that for positive integers a and b satisfying b < a < 2b, (i) a < kb = b > k(a b), (ii) a > kb = b < k(a b). Analysis: If these conditions hold, then we have a = kb = b = k(a b). If a = k, then 1 = k ( a 1) = k(k 1). Such a number k b b must satisfy k(k 1) = 1; it is the golden ratio ϕ = 1 ( 5 + 1). 2 Proposition 8.1. Let ϕ := 1 2 ( 5 + 1). For any two real numbers a and b, (i) a < ϕb = b > ϕ(a b), (ii) a > ϕb = b < ϕ(a b). Proof. The golden ratio ϕ satisfies ϕ 1 = 1. ϕ (i) a < ϕb = a b < (ϕ 1)b = 1 b = ϕ(a b) < b. ϕ (ii) a > ϕb = a b > (ϕ 1)b = 1 b = ϕ(a b) > b. ϕ Theorem 8.2. In the game of Euclid (a, b), the first player has a winning strategy if and only if a > ϕb.
8 308 The games of Euclid and Wythoff Proof. The first player (A) clearly wins if a = kb for some integer k. Assume a > ϕb. Let q be the largest integer such that a > qb. If q = 1, the only move is (a, b) (b, a b). In this case, b < ϕ(a b) by Proposition 8.1(ii). If q 2, we consider the moves (i) (a, b) (b, a qb) and (ii) (a, b) (a (q 1)b, b) (Note that a (q 1)b > b). If b < ϕ(a qb), make move (i). Otherwise, b > ϕ(a qb). Make move (ii). In this case, a qb < 1 ϕ b = a (q 1)b < ( 1 ϕ + 1 ) b = ϕb. This means that A can make a move (a, b) (a, b ) with a > b such that a < ϕb. The second player B has no choice but only the move (a, b ) (a b, b ). By Proposition 8.1, b > ϕ(a b ). Assume a < ϕb. Then A has no choice except the move (a, b) (a b, b). Here, b > ϕ(a b). Winning strategy: Suppose a > ϕb. Let q be the largest integer such that a > qb. A chooses between (a, b ) = (b, a qb) or (a (q 1)b, b) for a < ϕb. Examples: (a,b) A moves to B moves to (50, 29) (29, 21) (21, 8) (8,5) (5,3) (3,2) (2,1) (1,0) wins (a,b) A moves to B moves to (50, 31) (31, 19) (19, 12) (12, 7) (7, 5) (5,3) (3,2) (2,1) (1,0) wins
9 8.2 Wythoff s game Wythoff s game Given two piles of chips, a player either removes an arbitrary positive amount of chips from any one pile, or an equal (positive) amount of chips from both piles. The player who makes the last move wins. We describe the position of the game by the amounts of chips in the two piles. If you can make (1, 2), then you will surely win no matter how your opponent moves. Now, to forbid your opponent to get to this position, you should occupy (3, 5). The sequence of winning positions: starting with (a 1, b 1 ) = (1, 2), construct (a n, b n ) by setting a n := min{c : c a i, b i, i < n}, b n :=a n + n. Here are the 18 smallest winning positions for Wythoff s game: Every positive integer appears in the two sequences. Proof. Suppose (for a contradiction) that not every positive integer appears in the two sequences. Let N be the smallest of such integers. There is a sufficiently large integer M such that all integers less than N are among a 1,...,a M and b 1,...,b M. Then by definition, a M+1 = N, a contradiction. 2. The sequence (a n ) is increasing. Proof. Suppose a n+1 a n. This means that a n+1 is the smallest integer not in the list a 1, a 2,...,a n 1, a n, b 1, b 2,...,b n 1, b n. In particular, a n+1 a n. This means that a n+1 < a n < a n + n = b n. Ignoring a n and b n from this list, a n+1 is the smallest integer not in a 1, a 2,...,a n 1, b 1, b 2,...,b n 1. This means, by definition, that a n = a n+1, a contradiction.
10 310 The games of Euclid and Wythoff 3. The sequence (b n ) is increasing. Proof. b n+1 = a n+1 + n + 1 > a n + n = b n. 4. Since (a n ) and (b n ) are increasing, a n n and b n n for every n. 5. a m b n for all integers m and n. Proof. If m n, then a m a n < b n. If m > n, then n m 1 and a m is the smallest integer not among In particular, a m b n. a 1,...,a m 1, b 1,...,b n,...,b m Each positive integer appears in the list exactly once. Corollary of (1), (2), (3), (5). 7. It is not possible to move from (a n, b n ) to (a m, b m ) for m < n. Proof. A move (a n, b n ) (a m, b m ) must subtract the same number from a n and b n. This is impossible since b n a n = n > m = b m a m. 8. Let a < b. Suppose (a, b) (a n, b n ) for any n. Then there is a move into (a n, b n ) for some n. Proof. Each of a and b appears exactly once in one of the sequences (a n, b n ). There are five possibilities for (a, b) (in each case, p < q): (i) (a p, a q ), (ii) (b p, b q ), (iii) (a p, b q ), (iv) (a q, b p ), (v) (b p, a q ). In each case, we move (a, b) (a p, b p ) except when in (i) a q < b p. In this case, let n = b a. Note that n = b a < a q a p < b p a p = p, and b n a n = b a = b b n = a a n. The move (a, b) (a n, b n ) is done by subtracting equal numbers from a and b.
11 8.3 Beatty s Theorem Beatty s Theorem Theorem 8.3 (Beatty). If α and β are positive irrational numbers satisfying = 1, then the sequences α β and α, 2α, 3α,... β, 2β, 3β,... form a partition of the sequence of positive integers. Proof. (1) If an integer q appears in both sequences, then there are integers h and k such that From these, Combining these, we have q < hα < q + 1, q < kβ < q + 1. h q + 1 < 1 α < h q, k q + 1 < 1 β < k q. h + k q + 1 < 1 < h + k, q and q < h + k < q + 1, an impossibility. This shows that an integer q can appear in at most one of the sequences. (2) Now suppose an integer q does not appear in any of these sequence. Then there are integers h and k such that (h 1)α < q < q + 1 < hα, (k 1)β < q < q + 1 < kα. From these, h q + 1 > 1 α > h 1, q k q + 1 > 1 β > k 1. q
12 312 The games of Euclid and Wythoff Combining these, we have h + k q + 1 > 1 > h + k 2, q and h + k > q + 1 > q > h + k 2, an impossibility. This shows that every integer q appears in at least one of the sequences. From (1) and (2) we conclude that every integer appears in exactly one of the sequences. We try to find irrational numbers α and β satisfying 1 α + 1 β = 1 such that the two sequences ( nα ) and ( nβ ) are (a n ) and (b n ) for the winning positions of the Wythoff game. Since b n a n = n, we require nβ nα = n. This is the case if we choose α and β such that β α = 1. Since 1 α + 1 β = 1, we have 1 α + 1 α+1 = 1 or α2 = α + 1. Therefore, α = ϕ = 1 2 ( 5 + 1), the golden ratio, and β = ϕ + 1. Here is a succinct description of the Wythoff sequence. Theorem 8.4. The winning positions of Wythoff s game are the pairs ( nϕ, nϕ + n). Exercise 1. Where are the Fibonacci numbers in the Wythoff sequence? 2. Where are the Lucas numbers in the Wythoff sequence?
13 Chapter 9 Extrapolation problems 9.1 What is f(n + 1) if f(k) = 2 k for k = 0, 1, 2..., n? Let f(x) be a polynomial of degree n such that f(0) = 1, f(1) = 2, f(2) = 4,..., f(n) = 2 n. What is f(n + 1)? It is tempting to answer with 2 n+1, but this assumes f(x) = 2 x, not a polynomial. 1 Here is an easier approach to the problem, by considering the successive differences. If f(x) is a polynomial of degree n, then f(x+1) f(x) is a polynomial of degree n 1. Suppose the values of f(x) are given at n + 1 consecutive integers 0, 1,..., n. Then we can easily find the values of f(x + 1) f(x) at 1, 2..., n. By repeating the process, we obtain the successive differences. 1, 2, 4, 8, 16,31,57,99 1, 2, 4, 8,15,26,42 1, 2, 4,7,11,16 1, 2,3,4,5 1,1,1,1 f(n + 1) = 2 n+1 1. What is f(n + 2)? How does the sequence 1, 4, 11, 26, 57,... 1 There is also the famous Lagrange interpolation formula to find such a polynomial.
14 314 Extrapolation problems continue? The differences are 3, 7, 15, 31,.... From these we have f(n + 2) = 1 + (2 2 1) + (2 3 1) + + (2 n+1 1) = (2 1 1) + (2 2 1) + (2 3 1) + + (2 n+1 1) = ( n+1 ) (n + 1) = 2 n+2 2 (n + 1) = 2 n+2 n 3. Exercise 1. Prove that f( 1) = { 0 if n is odd, 1 if n is even. 2. Show that the values of f( 2) are for n = 2, 3, 4, 5, 6, 7,.... 2, 2, 3, 3, 4, 4,...
15 9.2 What is f(n + 1) if f(k) = 1 k+1 for k = 0, 1, 2..., n? What is f(n + 1) if f(k) = 1 k+1 for k = 0, 1, 2..., n? Suppose we have a polynomial f(x) of degree n with given values x n f(x) n+1 What are f(n + 1) and f(n + 2)? Solution. From the given data, we have (x + 1)f(x) 1 = 0 for x = 0, 1,..., n. Therefore, (x + 1)f(x) 1 is a polynomial of degree n + 1 with n + 1 roots 0, 1,..., n. (x + 1)f(x) 1 = cx(x 1)(x 2) (x n), for some constant c. With x = 1, we have Hence, 1 = c( 1)( 2)( 3) ( 1 n) c = ( 1)n (n + 1)!. (x + 1)f(x) = 1 + ( 1)n x(x 1) (x n). (n + 1)! (i) If n is odd, we have (n + 1)! (n + 2)f(n + 1) = 1 = 1 1 = 0 f(n + 1) = 0, (n + 1)! (n + 2)! + 1 (n + 3)f(n + 2) = 1 = (n + 1) f(n + 2) = n (n + 1)! n + 3. (ii) If n is even, we have (n + 1)! (n + 2)f(n + 1) = 1 + (n + 1)! (n + 3)f(n + 2) = 1 + = 2 f(n + 1) = 2 n + 2, (n + 2)! = n + 3 f(n + 2) = 1. (n + 1)! Summary { { 0, if n is odd, n+1, if n is odd, f(n+1) = 2, if n is even; f(n+2) = n+3 1, if n is even. n+2
16 316 Extrapolation problems Exercise 1. Let f(x) be a polynomial of degree n such that for k = 1, 2,..., n, f(k) = F k, the k-th Fibonacci number. Find the value of f(n + 1). { F n, if n is odd, Answer. f(n + 1) = L n, if n is even. 2. Find a quadratic polynomial f(x) such that f(1 n ) = 1 2n for every integer n. Note: 1 n is the integer whose decimal expansion consists of n digits each equal to 1; similarly for 1 2n. Answer. f(x) = x(9x + 2). 3. Find a cubic polynomial g(x) such that g(1 n ) = 1 3n for every n 1.
17 9.3 Why is e x not a rational function? Why is e x not a rational function? We show why the exponential function, and some other elementary functions, are not rational functions by studying the degrees of rational functions. A rational function is one of the form f(x) = P(x), where P(x) Q(x) and Q(x) are polynomials without common divisors (other than scalars from the field of coefficients). Theorem 9.1. Let f and g be rational functions. (a) If f + g 0, then deg(f + g) max(deg f, deg g). (b) deg(fg) = deg f + deg g. (c) If f 0, then deg f < deg f. (a) and (b) are well known. We prove (c). This depends on the simple fact that for a polynomial P(x), if the derivative P (x) is not identically zero, then deg P = deg P 1. Now let f(x) = P(x). Then f = P Q PQ = P PQ. Q(x) Q 2 Q Q 2 Now, deg P Q = deg P deg Q = (deg P 1) deg Q deg PQ Q 2 = deg P deg Q 1 = deg f 1, = deg P + (deg Q 1) 2 deg Q = deg P deg Q 1 = deg f 1. It follows from (a) that deg f deg f 1. This proves (c). Corollary 9.2. e x is not a rational function. Proof. Note that f(x) = e x satisfies the differential equation (x) = f(x). Suppose f(x) = e x is a rational function. Then a contradiction. deg f = deg f deg f 1,
18 318 Extrapolation problems Exercise 1. Make use of the fact (tan x) = sec 2 x to show that tan x is not a rational function. 2. Make use of the identity cos 2 x = 1 (1 + cos 2x) to show that cosx 2 is not a rational function. 3. Deduce that sin x is not a rational function. 4. Show that the logarithm function log x is not a rational function.
Problem Solving and Recreational Mathematics
Problem Solving and Recreational Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2012 Chapters 1 44 August 1 Monday 6/25 7/2 7/9 7/16 7/23 7/30 Wednesday 6/27 *** 7/11
More informationMATH4250 Game Theory 1. THE CHINESE UNIVERSITY OF HONG KONG Department of Mathematics MATH4250 Game Theory
MATH4250 Game Theory 1 THE CHINESE UNIVERSITY OF HONG KONG Department of Mathematics MATH4250 Game Theory Contents 1 Combinatorial games 2 1.1 Combinatorial games....................... 2 1.2 P-positions
More informationOn Aperiodic Subtraction Games with Bounded Nim Sequence
On Aperiodic Subtraction Games with Bounded Nim Sequence Nathan Fox arxiv:1407.2823v1 [math.co] 10 Jul 2014 Abstract Subtraction games are a class of impartial combinatorial games whose positions correspond
More informationMathematical Olympiad Training Polynomials
Mathematical Olympiad Training Polynomials Definition A polynomial over a ring R(Z, Q, R, C) in x is an expression of the form p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0, a i R, for 0 i n. If a n 0,
More informationSprague-Grundy Values of the R-Wythoff Game
Sprague-Grundy Values of the R-Wythoff Game Albert Gu Department of Mathematics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A agu@andrew.cmu.edu Submitted: Aug 6, 2014; Accepted: Apr 10, 2015;
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 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 informationMartin Gardner and Wythoff s Game
Martin Gardner and Wythoff s Game February 1, 2011 What s a question to your answer? We will not settle this puzzle here, yet we ll taste it. But let s begin at the beginning, namely in 1907, when Willem
More informationNumbers and their divisors
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
More informationOne Pile Nim with Arbitrary Move Function
One Pile Nim with Arbitrary Move Function by Arthur Holshouser and Harold Reiter Arthur Holshouser 3600 Bullard St. Charlotte, NC, USA, 28208 Harold Reiter Department of Mathematics UNC Charlotte Charlotte,
More informationPUTNAM 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 informationPUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include
PUTNAM TRAINING POLYNOMIALS (Last updated: December 11, 2017) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include
More informationNotes on Continued Fractions for Math 4400
. Continued fractions. Notes on Continued Fractions for Math 4400 The continued fraction expansion converts a positive real number α into a sequence of natural numbers. Conversely, a sequence of natural
More information#G03 INTEGERS 10 (2010), MIN, A COMBINATORIAL GAME HAVING A CONNECTION WITH PRIME NUMBERS
#G03 INTEGERS 10 (2010), 765-770 MIN, A COMBINATORIAL GAME HAVING A CONNECTION WITH PRIME NUMBERS Grant Cairns Department of Mathematics, La Trobe University, Melbourne, Australia G.Cairns@latrobe.edu.au
More informationCLASS - X Mathematics (Real Number)
CLASS - X Mathematics (Real Number) 1. 7 11 13 15 + 15is a (a) Composite number (c) Prime number (b) Whole number (d) None of these. For what least value of n a natural number, ( 4) n is divisible by 8?
More informationIn N we can do addition, but in order to do subtraction we need to extend N to the integers
Chapter 1 The Real Numbers 1.1. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {1, 2, 3, }. In N we can do addition, but in order to do subtraction we need
More informationIn Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3
APPENDIX A EXERCISES In Exercises 1 12, list the all of the elements of the given set. 1. The set of all prime numbers less than 20 2. The set of all positive integers whose square roots are less than
More informationIn N we can do addition, but in order to do subtraction we need to extend N to the integers
Chapter The Real Numbers.. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {, 2, 3, }. In N we can do addition, but in order to do subtraction we need to extend
More informationOne Pile Nim with Arbitrary Move Function
One Pile Nim with Arbitrary Move Function Arthur Holshouser 3600 Bullard St. Charlotte, NC, USA Harold Reiter Department of Mathematics, University of North Carolina Charlotte, Charlotte, NC 28223, USA
More informationAnalytic Number Theory Solutions
Analytic Number Theory Solutions Sean Li Cornell University sxl6@cornell.edu Jan. 03 Introduction This document is a work-in-progress solution manual for Tom Apostol s Introduction to Analytic Number Theory.
More information17 Advancement Operator Equations
November 14, 2017 17 Advancement Operator Equations William T. Trotter trotter@math.gatech.edu Review of Recurrence Equations (1) Problem Let r(n) denote the number of regions determined by n lines that
More informationMATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6
MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS PETE L. CLARK Contents 1. Polynomial Functions 1 2. Rational Functions 6 1. Polynomial Functions Using the basic operations of addition, subtraction,
More informationSection Summary. Proof by Cases Existence Proofs
Section 1.8 1 Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Uniqueness Proofs Proving Universally Quantified Assertions Proof Strategies sum up
More informationNUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.
NUMERICAL METHODS 1. Rearranging the equation x 3 =.5 gives the iterative formula x n+1 = g(x n ), where g(x) = (2x 2 ) 1. (a) Starting with x = 1, compute the x n up to n = 6, and describe what is happening.
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 information+ 1 3 x2 2x x3 + 3x 2 + 0x x x2 2x + 3 4
Math 4030-001/Foundations of Algebra/Fall 2017 Polynomials at the Foundations: Rational Coefficients The rational numbers are our first field, meaning that all the laws of arithmetic hold, every number
More information1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points
Introduction to Discrete Mathematics 3450:208 Test 1 1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : The inverse of E : The
More informationBaltic Way 2003 Riga, November 2, 2003
altic Way 2003 Riga, November 2, 2003 Problems and solutions. Let Q + be the set of positive rational numbers. Find all functions f : Q + Q + which for all x Q + fulfil () f ( x ) = f (x) (2) ( + x ) f
More information1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).
MATH 135: Randomized Exam Practice Problems These are the warm-up exercises and recommended problems taken from all the extra practice sets presented in random order. The challenge problems have not been
More informationMath1a Set 1 Solutions
Math1a Set 1 Solutions October 15, 2018 Problem 1. (a) For all x, y, z Z we have (i) x x since x x = 0 is a multiple of 7. (ii) If x y then there is a k Z such that x y = 7k. So, y x = (x y) = 7k is also
More informationMATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.
MATH 55 - HOMEWORK 6 SOLUTIONS Exercise Section 5 Proof (a) P () is the statement ( ) 3 (b) P () is true since ( ) 3 (c) The inductive hypothesis is P (n): ( ) n(n + ) 3 + 3 + + n 3 (d) Assuming the inductive
More informationPUTNAM TRAINING MATHEMATICAL INDUCTION. Exercises
PUTNAM TRAINING MATHEMATICAL INDUCTION (Last updated: December 11, 017) Remark. This is a list of exercises on mathematical induction. Miguel A. Lerma 1. Prove that n! > n for all n 4. Exercises. Prove
More information2. THE EUCLIDEAN ALGORITHM More ring essentials
2. THE EUCLIDEAN ALGORITHM More ring essentials In this chapter: rings R commutative with 1. An element b R divides a R, or b is a divisor of a, or a is divisible by b, or a is a multiple of b, if there
More informationMath 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction
Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If
More informationDownloaded from
Question 1: Exercise 2.1 The graphs of y = p(x) are given in following figure, for some polynomials p(x). Find the number of zeroes of p(x), in each case. (i) (ii) (iii) Page 1 of 24 (iv) (v) (v) Page
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 informationProof by Contradiction
Proof by Contradiction MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Proof by Contradiction Fall 2014 1 / 12 Outline 1 Proving Statements with Contradiction 2 Proving
More informationMADHAVA MATHEMATICS COMPETITION, December 2015 Solutions and Scheme of Marking
MADHAVA MATHEMATICS COMPETITION, December 05 Solutions and Scheme of Marking NB: Part I carries 0 marks, Part II carries 30 marks and Part III carries 50 marks Part I NB Each question in Part I carries
More informationMAT115A-21 COMPLETE LECTURE NOTES
MAT115A-21 COMPLETE LECTURE NOTES NATHANIEL GALLUP 1. Introduction Number theory begins as the study of the natural numbers the integers N = {1, 2, 3,...}, Z = { 3, 2, 1, 0, 1, 2, 3,...}, and sometimes
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 informationASSIGNMENT 12 PROBLEM 4
ASSIGNMENT PROBLEM 4 Generate a Fibonnaci sequence in the first column using f 0 =, f 0 =, = f n f n a. Construct the ratio of each pair of adjacent terms in the Fibonnaci sequence. What happens as n increases?
More informationLagrange s polynomial
Lagrange s polynomial Nguyen Trung Tuan November 16, 2016 Abstract In this article, I will use Lagrange polynomial to solve some problems from Mathematical Olympiads. Contents 1 Lagrange s interpolation
More informationFull file at
INSTRUCTOR S SOLUTIONS MANUAL to accompany ELEMENTARY NUMBER THEORY AND ITS APPLICATIONS FIFTH EDITION Bart Goddard Kenneth H. Rosen AT&T Labs This work is protected by United States copyright laws and
More informationIntroduction to Abstract Mathematics
Introduction to Abstract Mathematics Notation: Z + or Z >0 denotes the set {1, 2, 3,...} of positive integers, Z 0 is the set {0, 1, 2,...} of nonnegative integers, Z is the set {..., 1, 0, 1, 2,...} of
More informationfunction independent dependent domain range graph of the function The Vertical Line Test
Functions A quantity y is a function of another quantity x if there is some rule (an algebraic equation, a graph, a table, or as an English description) by which a unique value is assigned to y by a corresponding
More informationMATH 117 LECTURE NOTES
MATH 117 LECTURE NOTES XIN ZHOU Abstract. This is the set of lecture notes for Math 117 during Fall quarter of 2017 at UC Santa Barbara. The lectures follow closely the textbook [1]. Contents 1. The set
More informationTest 2. Monday, November 12, 2018
Test 2 Monday, November 12, 2018 Instructions. The only aids allowed are a hand-held calculator and one cheat sheet, i.e. an 8.5 11 sheet with information written on one side in your own handwriting. No
More informationMATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.
MATH 4 Summer 011 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If
More information1 Examples of Weak Induction
More About Mathematical Induction Mathematical induction is designed for proving that a statement holds for all nonnegative integers (or integers beyond an initial one). Here are some extra examples of
More informationLINEAR RECURSIVE SEQUENCES. The numbers in the sequence are called its terms. The general form of a sequence is
LINEAR RECURSIVE SEQUENCES BJORN POONEN 1. Sequences A sequence is an infinite list of numbers, like 1) 1, 2, 4, 8, 16, 32,.... The numbers in the sequence are called its terms. The general form of a sequence
More informationSection 0.2 & 0.3 Worksheet. Types of Functions
MATH 1142 NAME Section 0.2 & 0.3 Worksheet Types of Functions Now that we have discussed what functions are and some of their characteristics, we will explore different types of functions. Section 0.2
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 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 informationExample 1 Which of these functions are polynomials in x? In the case(s) where f is a polynomial,
1. Polynomials A polynomial in x is a function of the form p(x) = a 0 + a 1 x + a 2 x 2 +... a n x n (a n 0, n a non-negative integer) where a 0, a 1, a 2,..., a n are constants. We say that this polynomial
More informationSlow k-nim. Vladimir Gurvich a
R u t c o r Research R e p o r t Slow k-nim Vladimir Gurvich a Nhan Bao Ho b RRR 3-2015, August 2015 RUTCOR Rutgers Center for Operations Research Rutgers University 640 Bartholomew Road Piscataway, New
More informationRecreational Mathematics
Recreational Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2009 Chapters 1 40 Monday, July 31 Monday 6/22 6/29 7/6 7/13 7/20 7/27 8/3 Wednesday 6/24 7/1 7/8 7/15 7/22
More informationDiscrete Mathematics and Probability Theory Fall 2013 Vazirani Note 1
CS 70 Discrete Mathematics and Probability Theory Fall 013 Vazirani Note 1 Induction Induction is a basic, powerful and widely used proof technique. It is one of the most common techniques for analyzing
More informationNotes on Polynomials from Barry Monson, UNB
Notes on Polynomials from Barry Monson, UNB 1. Here are some polynomials and their degrees: polynomial degree note 6x 4 8x 3 +21x 2 +7x 2 4 quartic 2x 3 +0x 2 + 3x + 2 3 cubic 2 2x 3 + 3x + 2 3 the same
More informationDiscrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 3
EECS 70 Discrete Mathematics and Probability Theory Spring 014 Anant Sahai Note 3 Induction Induction is an extremely powerful tool in mathematics. It is a way of proving propositions that hold for all
More informationALGEBRA+NUMBER THEORY +COMBINATORICS
ALGEBRA+NUMBER THEORY +COMBINATORICS COMP 321 McGill University These slides are mainly compiled from the following resources. - Professor Jaehyun Park slides CS 97SI - Top-coder tutorials. - Programming
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 informationNotes 6: Polynomials in One Variable
Notes 6: Polynomials in One Variable Definition. Let f(x) = b 0 x n + b x n + + b n be a polynomial of degree n, so b 0 0. The leading term of f is LT (f) = b 0 x n. We begin by analyzing the long division
More informationPolynomial Rings. i=0
Polynomial Rings 4-15-2018 If R is a ring, the ring of polynomials in x with coefficients in R is denoted R[x]. It consists of all formal sums a i x i. Here a i = 0 for all but finitely many values of
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 informationMath Introduction to Modern Algebra
Math 343 - Introduction to Modern Algebra Notes Field Theory Basics Let R be a ring. M is called a maximal ideal of R if M is a proper ideal of R and there is no proper ideal of R that properly contains
More informationSingle Pile (Move Size) Dynamic Blocking Nim
Single Pile (Move Size) Dynamic Blocking Nim Abstract: Several authors have written papers dealing with a class of combinatorial games consisting of one-pile counter pickup games for which the maximum
More informationChapter 2 Section 2.1: Proofs Proof Techniques. CS 130 Discrete Structures
Chapter 2 Section 2.1: Proofs Proof Techniques CS 130 Discrete Structures Some Terminologies Axioms: Statements that are always true. Example: Given two distinct points, there is exactly one line that
More informationGeometrical extensions of Wythoff s game
Discrete Mathematics 309 (2009) 3595 3608 www.elsevier.com/locate/disc Geometrical extensions of Wythoff s game Eric Duchêne, Sylvain Gravier Institut Fourier, ERTé Maths à modeler Grenoble, France Received
More information(Inv) Computing Invariant Factors Math 683L (Summer 2003)
(Inv) Computing Invariant Factors Math 683L (Summer 23) We have two big results (stated in (Can2) and (Can3)) concerning the behaviour of a single linear transformation T of a vector space V In particular,
More informationTenth Bit Bank Mathematics Real Numbers
Tenth Bit Bank Mathematics Real Numbers 1. The rational number among the following is... i) 4.28 ii) 4.282828... iii) 4.288888... A) i) & ii) B) ii) & iii) C) i) & iii) D) All the above 2. A rational number
More informationCh 7 Summary - POLYNOMIAL FUNCTIONS
Ch 7 Summary - POLYNOMIAL FUNCTIONS 1. An open-top box is to be made by cutting congruent squares of side length x from the corners of a 8.5- by 11-inch sheet of cardboard and bending up the sides. a)
More informationMath 603, Spring 2003, HW 6, due 4/21/2003
Math 603, Spring 2003, HW 6, due 4/21/2003 Part A AI) If k is a field and f k[t ], suppose f has degree n and has n distinct roots α 1,..., α n in some extension of k. Write Ω = k(α 1,..., α n ) for the
More informationLecture 7: Polynomial rings
Lecture 7: Polynomial rings Rajat Mittal IIT Kanpur You have seen polynomials many a times till now. The purpose of this lecture is to give a formal treatment to constructing polynomials and the rules
More informationa + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.
Properties of the Integers The set of all integers is the set and the subset of Z given by Z = {, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, }, N = {0, 1, 2, 3, 4, }, is the set of nonnegative integers (also called
More informationProperties of the Integers
Properties of the Integers The set of all integers is the set and the subset of Z given by Z = {, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, }, N = {0, 1, 2, 3, 4, }, is the set of nonnegative integers (also called
More informationInfinite Continued Fractions
Infinite Continued Fractions 8-5-200 The value of an infinite continued fraction [a 0 ; a, a 2, ] is lim c k, where c k is the k-th convergent k If [a 0 ; a, a 2, ] is an infinite continued fraction with
More information6x 3 12x 2 7x 2 +16x 7x 2 +14x 2x 4
2.3 Real Zeros of Polynomial Functions Name: Pre-calculus. Date: Block: 1. Long Division of Polynomials. We have factored polynomials of degree 2 and some specific types of polynomials of degree 3 using
More informationLagrange s polynomial
Lagrange s polynomial Nguyen Trung Tuan November 13, 2016 Abstract...In numerical analysis, Lagrange polynomials are used for polynomial interpolation. For a given set of distinct points x j and numbers
More informationFinite and Infinite Sets
Chapter 9 Finite and Infinite Sets 9. Finite Sets Preview Activity (Equivalent Sets, Part ). Let A and B be sets and let f be a function from A to B..f W A! B/. Carefully complete each of the following
More informationMath /Foundations of Algebra/Fall 2017 Numbers at the Foundations: Real Numbers In calculus, the derivative of a function f(x) is defined
Math 400-001/Foundations of Algebra/Fall 2017 Numbers at the Foundations: Real Numbers In calculus, the derivative of a function f(x) is defined using limits. As a particular case, the derivative of f(x)
More informationSimplifying Rational Expressions and Functions
Department of Mathematics Grossmont College October 15, 2012 Recall: The Number Types Definition The set of whole numbers, ={0, 1, 2, 3, 4,...} is the set of natural numbers unioned with zero, written
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 informationPRIME NUMBERS YANKI LEKILI
PRIME NUMBERS YANKI LEKILI We denote by N the set of natural numbers: 1,2,..., These are constructed using Peano axioms. We will not get into the philosophical questions related to this and simply assume
More information8 Primes and Modular Arithmetic
8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.
More informationLECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel
LECTURE NOTES on DISCRETE MATHEMATICS Eusebius Doedel 1 LOGIC Introduction. First we introduce some basic concepts needed in our discussion of logic. These will be covered in more detail later. A set is
More informationLECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel
LECTURE NOTES on DISCRETE MATHEMATICS Eusebius Doedel 1 LOGIC Introduction. First we introduce some basic concepts needed in our discussion of logic. These will be covered in more detail later. A set is
More informationConsider an infinite row of dominoes, labeled by 1, 2, 3,, where each domino is standing up. What should one do to knock over all dominoes?
1 Section 4.1 Mathematical Induction Consider an infinite row of dominoes, labeled by 1,, 3,, where each domino is standing up. What should one do to knock over all dominoes? Principle of Mathematical
More informationNOTES ON IRRATIONALITY AND TRANSCENDENCE
NOTES ON IRRATIONALITY AND TRANSCENDENCE Frits Beukers September, 27 Introduction. Irrationality Definition.. Let α C. We call α irrational when α Q. Proving irrationality and transcendence of numbers
More informationReal Analysis - Notes and After Notes Fall 2008
Real Analysis - Notes and After Notes Fall 2008 October 29, 2008 1 Introduction into proof August 20, 2008 First we will go through some simple proofs to learn how one writes a rigorous proof. Let start
More informationFrom now on we assume that K = K.
Divisors From now on we assume that K = K. Definition The (additively written) free abelian group generated by P F is denoted by D F and is called the divisor group of F/K. The elements of D F are called
More informationDIRECTED STUDIES IN MATHEMATICS - FINAL REPORT. 1. Introduction
DIRECTED STUDIES IN MATHEMATICS - FINAL REPORT ZHANG YONGQUAN 1. Introduction The factorial function n!, usually defined as the number of permutations of n distinct objects (or equivalently the product
More informationThe theory of numbers
1 AXIOMS FOR THE INTEGERS 1 The theory of numbers UCU Foundations of Mathematics course 2017 Author: F. Beukers 1 Axioms for the integers Roughly speaking, number theory is the mathematics of the integers.
More information6.2 Their Derivatives
Exponential Functions and 6.2 Their Derivatives Copyright Cengage Learning. All rights reserved. Exponential Functions and Their Derivatives The function f(x) = 2 x is called an exponential function because
More informationTennessee s State Mathematics Standards - Algebra I
Domain Cluster Standards Scope and Clarifications Number and Quantity Quantities The Real (N Q) Number System (N-RN) Use properties of rational and irrational numbers Reason quantitatively and use units
More informationarxiv: v2 [math.co] 23 Mar 2012
VARIANTS OF WYTHOFF S GAME TRANSLATING ITS P-POSITIONS arxiv:1203.2090v2 [math.co] 23 Mar 2012 NHAN BAO HO Abstract. We introduce a restriction of Wythoff s game, which we call F-Wythoff, in which the
More information( 3) ( ) ( ) ( ) ( ) ( )
81 Instruction: Determining the Possible Rational Roots using the Rational Root Theorem Consider the theorem stated below. Rational Root Theorem: If the rational number b / c, in lowest terms, is a root
More information2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )
MATH 135: Randomized Exam Practice Problems These are the warm-up exercises and recommended problems take from the extra practice sets presented in random order. The challenge problems have not been included.
More informationPolynomial Functions and Models
1 CA-Fall 2011-Jordan College Algebra, 4 th edition, Beecher/Penna/Bittinger, Pearson/Addison Wesley, 2012 Chapter 4: Polynomial Functions and Rational Functions Section 4.1 Polynomial Functions and Models
More informationChapter 8: Taylor s theorem and L Hospital s rule
Chapter 8: Taylor s theorem and L Hospital s rule Theorem: [Inverse Mapping Theorem] Suppose that a < b and f : [a, b] R. Given that f (x) > 0 for all x (a, b) then f 1 is differentiable on (f(a), f(b))
More information= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2
8. p-adic numbers 8.1. Motivation: Solving x 2 a (mod p n ). Take an odd prime p, and ( an) integer a coprime to p. Then, as we know, x 2 a (mod p) has a solution x Z iff = 1. In this case we can suppose
More information