A generating function method for impartial games

Size: px
Start display at page:

Download "A generating function method for impartial games"

Transcription

1 A generating function method for impartial games Alex Fink Queen Mary University of London Joint IMU / AMS meeting, Tel Aviv June 2014 Alex Fink Generating functions 1 / 14

2 My aim The purpose of this talk is to ask a question. Question Can we solve any new impartial games via generating functions? Or if not solve them, at least prove more classes periodic, etc.? In this talk I ll show you several games with well-known solutions which a generating function approach does solve. I won t even cheat much! Alex Fink Generating functions 2 / 14

3 Generating functions Generating functions box up combinatorial sequences in a single object. e.g.: i 0 Cat i t i = 1 + t + 2t 2 + 5t t 4 + = 1 1 4t. 2t There is a great toolbox of powerful methods for them. My topic is the generating function for the outcome sequence of a ruleset G, i.e. for the P-positions: p G (t) = δ outcome(i),p t i = t i. i i is P Wanted: an equation that can be solved for p G (t). Alex Fink Generating functions 3 / 14

4 Generating functions Generating functions box up combinatorial sequences in a single object. e.g.: i 0 Cat i t i = 1 + t + 2t 2 + 5t t 4 + = 1 1 4t. 2t There is a great toolbox of powerful methods for them. My topic is the generating function for the outcome sequence of a ruleset G, i.e. for the P-positions: p G (t) = δ outcome(i),p t i = t i. i i is P Wanted: an equation that can be solved for p G (t). Alex Fink Generating functions 3 / 14

5 The functional equation Write the generating function q G (t) for sources of moves to P-positions in terms of p G (t). Examples Subtraction games If the subtraction set is {a, b,...}, then q G (t) = p G (t) (t a + t b + ). Other heap games 2-Mark (Fraenkel): q 2 Mark (t) = tp 2 Mark (t) + (1 + t)p 2 Mark (t 2 ). Then their coefficients are related: { [t i 1 [t i ]q G (t) = 0 ]p G (t) = 0 otherwise Obstacle This isn t an algebraic operation on series! Alex Fink Generating functions 4 / 14

6 The functional equation Write the generating function q G (t) for sources of moves to P-positions in terms of p G (t). Examples Subtraction games If the subtraction set is {a, b,...}, then q G (t) = p G (t) (t a + t b + ). Other heap games 2-Mark (Fraenkel): q 2 Mark (t) = tp 2 Mark (t) + (1 + t)p 2 Mark (t 2 ). Then their coefficients are related: { [t i 1 [t i ]q G (t) = 0 ]p G (t) = 0 otherwise Obstacle This isn t an algebraic operation on series! Alex Fink Generating functions 4 / 14

7 One good move, if any If there is at most one P option from any position, then ( ) p G (t) = t i q G (t) and we can solve for p G (t). Example: Subtraction games with subtraction set i {k, 2k,..., nk} (Any two options have a move between them.) (including n = ). p G = 1 1 t q G = 1 1 t (tk + +t nk )p G = 1 1 t tk t (n+1)k 1 t k p G solves to just as it should. p G = 1 t k (1 t)(1 t (n+1)k ) Alex Fink Generating functions 5 / 14

8 One good move, if any If there is at most one P option from any position, then ( ) p G (t) = t i q G (t) and we can solve for p G (t). Example: Subtraction games with subtraction set i {k, 2k,..., nk} (Any two options have a move between them.) (including n = ). p G = 1 1 t q G = 1 1 t (tk + +t nk )p G = 1 1 t tk t (n+1)k 1 t k p G solves to just as it should. p G = 1 t k (1 t)(1 t (n+1)k ) Alex Fink Generating functions 5 / 14

9 Working mod 2 Few games have only one good move from each N -position. But several exemplary games have an odd number. In this case, ( ) q G (t) t i p G (t) (mod 2) and we can still solve for p G (t) over Z/2Z. Example: Nim, with any number of heaps. i A heap of h has a good move h 1 : iff the leading bit set in the h 2 : nim-sum is also set in h. h 3 : There are oddly many such h. h 4 : (Cheating! But... ) nim-sum: Alex Fink Generating functions 6 / 14

10 Working mod 2 Few games have only one good move from each N -position. But several exemplary games have an odd number. In this case, ( ) q G (t) t i p G (t) (mod 2) and we can still solve for p G (t) over Z/2Z. Example: Nim, with any number of heaps. i A heap of h has a good move h 1 : iff the leading bit set in the h 2 : nim-sum is also set in h. h 3 : There are oddly many such h. h 4 : (Cheating! But... ) nim-sum: Alex Fink Generating functions 6 / 14

11 Solving Nim Our generating function is now multivariate: t (h 1,...,h n) := t h 1 1 thn n So p Nim i = i 1 q Nim 1 t i ( ) 1 t i p Nim 1 t i 1 t i i which solves, modulo 2, to p Nim each i k is 0 or 1 an even number are 1 1 tn in t i 1 1. Alex Fink Generating functions 7 / 14

12 Tips and tricks For misère solutions, add a fake good move from each end position in q G. e.g. q G = (1 + + x k 1 ) +(t k + + t nk )p }{{} G. fake An outcome generating function for G + one-heap Nim is a G-value generating function for G. Negative positions! Generalising beyond monomials! Being indecisive! Alex Fink Generating functions 8 / 14

13 Tips and tricks For misère solutions, add a fake good move from each end position in q G. e.g. q G = (1 + + x k 1 ) +(t k + + t nk )p }{{} G. fake An outcome generating function for G + one-heap Nim is a G-value generating function for G. Negative positions! Generalising beyond monomials! Being indecisive! Alex Fink Generating functions 8 / 14

14 Negative positions Example: 3-heap Lim. (Take a beans from two heaps, add a to the third.) Lim has the oddly many P options property. (Why?!) We take ( ) 1 q Lim = + cyclic p Lim. 1 t 1 t 2 /t 3 But then s contains negative exponents! So we alter the other relation: p Lim = 1 + t 1 + t 2 + t 3 (1 t 1 t 2 /t 3 )(cyclic) q Lim and have to verify that the fake positions have oddly many P options. (Everything works out.) Question Does (2 n 1)-heap Lim have the oddly many P options property? Alex Fink Generating functions 9 / 14

15 Negative positions Example: 3-heap Lim. (Take a beans from two heaps, add a to the third.) Lim has the oddly many P options property. (Why?!) We take ( ) 1 q Lim = + cyclic p Lim. 1 t 1 t 2 /t 3 But then s contains negative exponents! So we alter the other relation: p Lim = 1 + t 1 + t 2 + t 3 (1 t 1 t 2 /t 3 )(cyclic) q Lim and have to verify that the fake positions have oddly many P options. (Everything works out.) Question Does (2 n 1)-heap Lim have the oddly many P options property? Alex Fink Generating functions 9 / 14

16 Welter s game Example: Welter s game has the oddly many P options property. [ONAG, Thm. 82] (still cheating!) Positions in Welter s game can be encoded as Young diagrams of partitions: step up for full cells, right for empty cells. A move is deleting a ribbon. Alex Fink Generating functions 10 / 14

17 Welter s game Example: Welter s game has the oddly many P options property. [ONAG, Thm. 82] (still cheating!) Positions in Welter s game can be encoded as Young diagrams of partitions: step up for full cells, right for empty cells. A move is deleting a ribbon. Alex Fink Generating functions 10 / 14

18 Welter s game is a subtraction game The Schur functions form a basis for the ring of symmetric functions (in ly many vars), indexed by partitions. s λ (t 1,..., t n ) = det(t λ i +n i j )/ det(tj n i ) Proposition (Murnaghan-Nakayama rule) (t n 1 + t n 2 + ) s λ = µ is λ plus a ribbon ±s µ. Using Schurs in the Welter g.f. gives a relation looking exactly like Nim s: ( ) t i q Welter = p Welter. 1 t i But the solution gets messier from there... Question Are there other well-behaved games from invariant theory? i Alex Fink Generating functions 11 / 14

19 Welter s game is a subtraction game The Schur functions form a basis for the ring of symmetric functions (in ly many vars), indexed by partitions. s λ (t 1,..., t n ) = det(t λ i +n i j )/ det(tj n i ) Proposition (Murnaghan-Nakayama rule) (t n 1 + t n 2 + ) s λ = µ is λ plus a ribbon ±s µ. Using Schurs in the Welter g.f. gives a relation looking exactly like Nim s: ( ) t i q Welter = p Welter. 1 t i But the solution gets messier from there... Question Are there other well-behaved games from invariant theory? i Alex Fink Generating functions 11 / 14

20 Welter s game is a subtraction game The Schur functions form a basis for the ring of symmetric functions (in ly many vars), indexed by partitions. s λ (t 1,..., t n ) = det(t λ i +n i j )/ det(tj n i ) Proposition (Murnaghan-Nakayama rule) (t n 1 + t n 2 + ) s λ = µ is λ plus a ribbon ±s µ. Using Schurs in the Welter g.f. gives a relation looking exactly like Nim s: ( ) t i q Welter = p Welter. 1 t i But the solution gets messier from there... Question Are there other well-behaved games from invariant theory? i Alex Fink Generating functions 11 / 14

21 The indecision transform Let G be an impartial ruleset. In indecisive G, I can leave some of my choices to you: positions are nonempty sets of G-positions; the options of {G i } are the subsets of i options(g i). Good news Every N -position in indecisive G has (2 a 1) P options. Bad news The positions don t usually fit in a generating function. Alex Fink Generating functions 12 / 14

22 A case where indecision is manageable Example. Subtraction games with subtraction set an arithmetic progression {k, k + r,..., k + nr}. Which indecisive positions do we care about? Certainly singletons {a}. The indecisive positions {a, a + 2r} and {a, a + r, a + 2r} have the same options, = the same outcome. So if both appear as options in some position, we can cancel them. In fact all options of singletons cancel in pairs, other than {a} and {a, a + r}. And the system of two linear equations for ( ) i : {i} is P p G = i ti : {i, i + r} is P ti is solvable. Alex Fink Generating functions 13 / 14

23 A case where indecision is manageable Example. Subtraction games with subtraction set an arithmetic progression {k, k + r,..., k + nr}. Which indecisive positions do we care about? Certainly singletons {a}. The indecisive positions {a, a + 2r} and {a, a + r, a + 2r} have the same options, = the same outcome. So if both appear as options in some position, we can cancel them. In fact all options of singletons cancel in pairs, other than {a} and {a, a + r}. And the system of two linear equations for ( ) i : {i} is P p G = i ti : {i, i + r} is P ti is solvable. Alex Fink Generating functions 13 / 14

24 A case where indecision is manageable Example. Subtraction games with subtraction set an arithmetic progression {k, k + r,..., k + nr}. Which indecisive positions do we care about? Certainly singletons {a}. The indecisive positions {a, a + 2r} and {a, a + r, a + 2r} have the same options, = the same outcome. So if both appear as options in some position, we can cancel them. In fact all options of singletons cancel in pairs, other than {a} and {a, a + r}. And the system of two linear equations for ( ) i : {i} is P p G = i ti : {i, i + r} is P ti is solvable. Alex Fink Generating functions 13 / 14

25 Closing thoughts If we don t have the oddly many P options property, can we solve for p G with integral equations? E.g. if p(t) = w i t i then w 2 i t i = 1 0 p(te 2πix )p(e 2πix ) dx. Don t get too optimistic: lattice games exhibit universal computation! Question Can we solve any new impartial games via generating functions? And what s up with the oddly many P options property? Thank you! Alex Fink Generating functions 14 / 14

26 Closing thoughts If we don t have the oddly many P options property, can we solve for p G with integral equations? E.g. if p(t) = w i t i then w 2 i t i = 1 0 p(te 2πix )p(e 2πix ) dx. Don t get too optimistic: lattice games exhibit universal computation! Question Can we solve any new impartial games via generating functions? And what s up with the oddly many P options property? Thank you! Alex Fink Generating functions 14 / 14

27 Closing thoughts If we don t have the oddly many P options property, can we solve for p G with integral equations? E.g. if p(t) = w i t i then w 2 i t i = 1 0 p(te 2πix )p(e 2πix ) dx. Don t get too optimistic: lattice games exhibit universal computation! Question Can we solve any new impartial games via generating functions? And what s up with the oddly many P options property? Thank you! Alex Fink Generating functions 14 / 14

STEP Support Programme. Hints and Partial Solutions for Assignment 17

STEP Support Programme. Hints and Partial Solutions for Assignment 17 STEP Support Programme Hints and Partial Solutions for Assignment 7 Warm-up You need to be quite careful with these proofs to ensure that you are not assuming something that should not be assumed. For

More information

A misère-play -operator

A misère-play -operator A misère-play -operator Matthieu Dufour Silvia Heubach Urban Larsson arxiv:1608.06996v1 [math.co] 25 Aug 2016 July 31, 2018 Abstract We study the -operator (Larsson et al, 2011) of impartial vector subtraction

More information

POLYNOMIAL EXPRESSIONS PART 1

POLYNOMIAL EXPRESSIONS PART 1 POLYNOMIAL EXPRESSIONS PART 1 A polynomial is an expression that is a sum of one or more terms. Each term consists of one or more variables multiplied by a coefficient. Coefficients can be negative, so

More information

arxiv: v2 [math.co] 9 Aug 2011

arxiv: v2 [math.co] 9 Aug 2011 Winning strategies for aperiodic subtraction games arxiv:1108.1239v2 [math.co] 9 Aug 2011 Alan Guo MIT Computer Science and Artificial Intelligence Laboratory Cambridge, MA 02139, USA aguo@mit.edu Abstract

More information

* 8 Groups, with Appendix containing Rings and Fields.

* 8 Groups, with Appendix containing Rings and Fields. * 8 Groups, with Appendix containing Rings and Fields Binary Operations Definition We say that is a binary operation on a set S if, and only if, a, b, a b S Implicit in this definition is the idea that

More information

MATH 115, SUMMER 2012 LECTURE 12

MATH 115, SUMMER 2012 LECTURE 12 MATH 115, SUMMER 2012 LECTURE 12 JAMES MCIVOR - last time - we used hensel s lemma to go from roots of polynomial equations mod p to roots mod p 2, mod p 3, etc. - from there we can use CRT to construct

More information

CS1800: Sequences & Sums. Professor Kevin Gold

CS1800: Sequences & Sums. Professor Kevin Gold CS1800: Sequences & Sums Professor Kevin Gold Moving Toward Analysis of Algorithms Today s tools help in the analysis of algorithms. We ll cover tools for deciding what equation best fits a sequence of

More information

Wen An Liu College of Mathematics and Information Science, Henan Normal University, Xinxiang, P.R. China

Wen An Liu College of Mathematics and Information Science, Henan Normal University, Xinxiang, P.R. China #G4 INTEGERS 1 (01) ON SUPPLEMENTS OF M BOARD IN TOPPLING TOWERS Wen An Liu College of Mathematics and Information Science, Henan Normal University, Xinxiang, P.R. China liuwenan@16.com Haifeng Li College

More information

AN ALGEBRA PRIMER WITH A VIEW TOWARD CURVES OVER FINITE FIELDS

AN ALGEBRA PRIMER WITH A VIEW TOWARD CURVES OVER FINITE FIELDS AN ALGEBRA PRIMER WITH A VIEW TOWARD CURVES OVER FINITE FIELDS The integers are the set 1. Groups, Rings, and Fields: Basic Examples Z := {..., 3, 2, 1, 0, 1, 2, 3,...}, and we can add, subtract, and multiply

More information

Math 410 Homework 6 Due Monday, October 26

Math 410 Homework 6 Due Monday, October 26 Math 40 Homework 6 Due Monday, October 26. Let c be any constant and assume that lim s n = s and lim t n = t. Prove that: a) lim c s n = c s We talked about these in class: We want to show that for all

More information

Elementary Properties of the Integers

Elementary Properties of the Integers Elementary Properties of the Integers 1 1. Basis Representation Theorem (Thm 1-3) 2. Euclid s Division Lemma (Thm 2-1) 3. Greatest Common Divisor 4. Properties of Prime Numbers 5. Fundamental Theorem of

More information

Greedy Codes. Theodore Rice

Greedy Codes. Theodore Rice Greedy Codes Theodore Rice 1 Key ideas These greedy codes come from certain positions of combinatorial games. These codes will be identical to other well known codes. Little sophisticated mathematics is

More information

The power graph of a finite group, II

The power graph of a finite group, II The power graph of a finite group, II Peter J. Cameron School of Mathematical Sciences Queen Mary, University of London Mile End Road London E1 4NS, U.K. Abstract The directed power graph of a group G

More information

Atomic Weight Calculus of Subversion

Atomic Weight Calculus of Subversion , West Chester University, with N. McKay, R. J. Nowakowski, P. Ottaway, and C. Santos January 26, 2017 Table of contents The game The game Subversion is a partizan self-referential subtraction game played

More information

Impartial Games. Lemma: In any finite impartial game G, either Player 1 has a winning strategy, or Player 2 has.

Impartial Games. Lemma: In any finite impartial game G, either Player 1 has a winning strategy, or Player 2 has. 1 Impartial Games An impartial game is a two-player game in which players take turns to make moves, and where the moves available from a given position don t depend on whose turn it is. A player loses

More information

5. Partitions and Relations Ch.22 of PJE.

5. Partitions and Relations Ch.22 of PJE. 5. Partitions and Relations Ch. of PJE. We now generalize the ideas of congruence classes of Z to classes of any set X. The properties of congruence classes that we start with here are that they are disjoint

More information

Divisibility = 16, = 9, = 2, = 5. (Negative!)

Divisibility = 16, = 9, = 2, = 5. (Negative!) Divisibility 1-17-2018 You probably know that division can be defined in terms of multiplication. If m and n are integers, m divides n if n = mk for some integer k. In this section, I ll look at properties

More information

MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST

MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST JAMES MCIVOR Today we enter Chapter 2, which is the heart of this subject. Before starting, recall that last time we saw the integers have unique factorization

More information

(x 1 +x 2 )(x 1 x 2 )+(x 2 +x 3 )(x 2 x 3 )+(x 3 +x 1 )(x 3 x 1 ).

(x 1 +x 2 )(x 1 x 2 )+(x 2 +x 3 )(x 2 x 3 )+(x 3 +x 1 )(x 3 x 1 ). CMPSCI611: Verifying Polynomial Identities Lecture 13 Here is a problem that has a polynomial-time randomized solution, but so far no poly-time deterministic solution. Let F be any field and let Q(x 1,...,

More information

Character Polynomials

Character Polynomials Character Polynomials Problem From Stanley s Positivity Problems in Algebraic Combinatorics Problem : Give a combinatorial interpretation of the row sums of the character table for S n (combinatorial proof

More information

Aperiodic Subtraction Games

Aperiodic Subtraction Games Aperiodic Subtraction Games Aviezri S. Fraenkel Department of Computer Science and Applied Mathematics Weizmann Institute of Science Rehovot 76100, Israel Submitted: 2011; Accepted: 2011; Published: XX

More information

Euler s, Fermat s and Wilson s Theorems

Euler s, Fermat s and Wilson s Theorems Euler s, Fermat s and Wilson s Theorems R. C. Daileda February 17, 2018 1 Euler s Theorem Consider the following example. Example 1. Find the remainder when 3 103 is divided by 14. We begin by computing

More information

Supplement for MAA 3200, Prof S Hudson, Fall 2018 Constructing Number Systems

Supplement for MAA 3200, Prof S Hudson, Fall 2018 Constructing Number Systems Supplement for MAA 3200, Prof S Hudson, Fall 2018 Constructing Number Systems A major goal of this course is to construct the number systems N, Z and Q, and especially the real numbers R, which play such

More information

Lecture 8: A Crash Course in Linear Algebra

Lecture 8: A Crash Course in Linear Algebra Math/CS 120: Intro. to Math Professor: Padraic Bartlett Lecture 8: A Crash Course in Linear Algebra Week 9 UCSB 2014 Qué sed de saber cuánto! Pablo Neruda, Oda a los Números 1 Linear Algebra In the past

More information

PLEASE DO ANY 6 of the following 8 problems. Work carefully

PLEASE DO ANY 6 of the following 8 problems. Work carefully Ma2201/CS2022 Discrete Mathematics D Term, 2016 FINAL EXAM PRINT NAME NEATLY: SIGN : PLEASE DO ANY 6 of the following 8 problems. Work carefully and neatly. 1. (5 pts) A tech company currently has 5 programmers,

More information

MA441: Algebraic Structures I. Lecture 18

MA441: Algebraic Structures I. Lecture 18 MA441: Algebraic Structures I Lecture 18 5 November 2003 1 Review from Lecture 17: Theorem 6.5: Aut(Z/nZ) U(n) For every positive integer n, Aut(Z/nZ) is isomorphic to U(n). The proof used the map T :

More information

How do computers represent numbers?

How do computers represent numbers? How do computers represent numbers? Tips & Tricks Week 1 Topics in Scientific Computing QMUL Semester A 2017/18 1/10 What does digital mean? The term DIGITAL refers to any device that operates on discrete

More information

Day 15. Tuesday June 12, 2012

Day 15. Tuesday June 12, 2012 Day 15 Tuesday June 12, 2012 1 Properties of Function So far we have talked about different things we can talk about with respect to a function. So far if f : A B we have the following features: A domain:

More information

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

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers ALGEBRA CHRISTIAN REMLING 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers by Z = {..., 2, 1, 0, 1,...}. Given a, b Z, we write a b if b = ac for some

More information

CS1800: Strong Induction. Professor Kevin Gold

CS1800: Strong Induction. Professor Kevin Gold CS1800: Strong Induction Professor Kevin Gold Mini-Primer/Refresher on Unrelated Topic: Limits This is meant to be a problem about reasoning about quantifiers, with a little practice of other skills, too

More information

5.2 Infinite Series Brian E. Veitch

5.2 Infinite Series Brian E. Veitch 5. Infinite Series Since many quantities show up that cannot be computed exactly, we need some way of representing it (or approximating it). One way is to sum an infinite series. Recall that a n is the

More information

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise. Name Solutions Linear Algebra; Test 3 Throughout the test simplify all answers except where stated otherwise. 1) Find the following: (10 points) ( ) Or note that so the rows are linearly independent, so

More information

On Aperiodic Subtraction Games with Bounded Nim Sequence

On 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 information

Introduction to Combinatorial Game Theory

Introduction to Combinatorial Game Theory Introduction to Combinatorial Game Theory Tom Plick Drexel MCS Society April 10, 2008 1/40 A combinatorial game is a two-player game with the following properties: alternating play perfect information

More information

7.5 Taking-and-Breaking Games

7.5 Taking-and-Breaking Games Chapter 7. Impartial Games 7.5 Taking-and-Breaking Games There are many natural variations on nim obtained by modifying the legal moves. For example, sometimes a player, in addition to taking counters,

More information

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018 57 5. p-adic Numbers 5.1. Motivating examples. We all know that 2 is irrational, so that 2 is not a square in the rational field Q, but that we can

More information

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes ELG 5372 Error Control Coding Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes Quotient Ring Example + Quotient Ring Example Quotient Ring Recall the quotient ring R={,,, }, where

More information

Limits of cubes E1 4NS, U.K.

Limits of cubes E1 4NS, U.K. Limits of cubes Peter J. Cameron a Sam Tarzi a a School of Mathematical Sciences, Queen Mary, University of London, London E1 4NS, U.K. Abstract The celebrated Urysohn space is the completion of a countable

More information

10.4 Comparison Tests

10.4 Comparison Tests 0.4 Comparison Tests The Statement Theorem Let a n be a series with no negative terms. (a) a n converges if there is a convergent series c n with a n c n n > N, N Z (b) a n diverges if there is a divergent

More information

Contribution of Problems

Contribution of Problems Exam topics 1. Basic structures: sets, lists, functions (a) Sets { }: write all elements, or define by condition (b) Set operations: A B, A B, A\B, A c (c) Lists ( ): Cartesian product A B (d) Functions

More information

FINITE ABELIAN GROUPS Amin Witno

FINITE ABELIAN GROUPS Amin Witno WON Series in Discrete Mathematics and Modern Algebra Volume 7 FINITE ABELIAN GROUPS Amin Witno Abstract We detail the proof of the fundamental theorem of finite abelian groups, which states that every

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a k for some integer k. Notation

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand 1 Divisibility, prime numbers By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a

More information

Theorem 1. Every P -position of the game can be written in the form (T n ; m 1 ; : : : ; m k?1 ), where the (k? 1)-tuples (m 1 ; : : : ; m k?1 ) range

Theorem 1. Every P -position of the game can be written in the form (T n ; m 1 ; : : : ; m k?1 ), where the (k? 1)-tuples (m 1 ; : : : ; m k?1 ) range A New Heap Game Aviezri S. Fraenkel and Dmitri Zusman Department of Applied Mathematics and Computer Science The Weizmann Institute of Science Rehovot 76100, Israel fraenkel@wisdom.weizmann.ac.il http://www.wisdom.weizmann.ac.il/~fraenkel

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 411 (2010) 3224 3234 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs N-player partizan games Alessandro

More information

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic Computer Science 324 Computer Architecture Mount Holyoke College Fall 2007 Topic Notes: Digital Logic Our goal for the next few weeks is to paint a a reasonably complete picture of how we can go from transistor

More information

2 so Q[ 2] is closed under both additive and multiplicative inverses. a 2 2b 2 + b

2 so Q[ 2] is closed under both additive and multiplicative inverses. a 2 2b 2 + b . FINITE-DIMENSIONAL VECTOR SPACES.. Fields By now you ll have acquired a fair knowledge of matrices. These are a concrete embodiment of something rather more abstract. Sometimes it is easier to use matrices,

More information

Cosets and Lagrange s theorem

Cosets and Lagrange s theorem Cosets and Lagrange s theorem These are notes on cosets and Lagrange s theorem some of which may already have been lecturer. There are some questions for you included in the text. You should write the

More information

3.1 Induction: An informal introduction

3.1 Induction: An informal introduction Chapter 3 Induction and Recursion 3.1 Induction: An informal introduction This section is intended as a somewhat informal introduction to The Principle of Mathematical Induction (PMI): a theorem that establishes

More information

Linear Algebra, Summer 2011, pt. 2

Linear Algebra, Summer 2011, pt. 2 Linear Algebra, Summer 2, pt. 2 June 8, 2 Contents Inverses. 2 Vector Spaces. 3 2. Examples of vector spaces..................... 3 2.2 The column space......................... 6 2.3 The null space...........................

More information

On The Model Of Hyperrational Numbers With Selective Ultrafilter

On The Model Of Hyperrational Numbers With Selective Ultrafilter MSC 03H05 On The Model Of Hyperrational Numbers With Selective Ultrafilter A. Grigoryants Moscow State University Yerevan Branch February 27, 2019 Abstract In standard construction of hyperrational numbers

More information

CAYLEY NUMBERS WITH ARBITRARILY MANY DISTINCT PRIME FACTORS arxiv: v1 [math.co] 17 Sep 2015

CAYLEY NUMBERS WITH ARBITRARILY MANY DISTINCT PRIME FACTORS arxiv: v1 [math.co] 17 Sep 2015 CAYLEY NUMBERS WITH ARBITRARILY MANY DISTINCT PRIME FACTORS arxiv:1509.05221v1 [math.co] 17 Sep 2015 TED DOBSON AND PABLO SPIGA Abstract. A positive integer n is a Cayley number if every vertex-transitive

More information

MITOCW watch?v=vjzv6wjttnc

MITOCW watch?v=vjzv6wjttnc MITOCW watch?v=vjzv6wjttnc PROFESSOR: We just saw some random variables come up in the bigger number game. And we're going to be talking now about random variables, just formally what they are and their

More information

Polynomial Division. You may also see this kind of problem written like this: Perform the division x2 +2x 3

Polynomial Division. You may also see this kind of problem written like this: Perform the division x2 +2x 3 Polynomial Division 5015 You do polynomial division the way you do long division of numbers It s difficult to describe the general procedure in words, so I ll work through some eamples stepbystep Eample

More information

Greatest Common Divisor

Greatest Common Divisor Greatest Common Divisor Graeme Taylor February 8, 2005 In a computer algebra setting, the greatest common divisor is necessary to make sense of fractions, whether to work with rational numbers or ratios

More information

CDM. Finite Fields. Klaus Sutner Carnegie Mellon University. Fall 2018

CDM. Finite Fields. Klaus Sutner Carnegie Mellon University. Fall 2018 CDM Finite Fields Klaus Sutner Carnegie Mellon University Fall 2018 1 Ideals The Structure theorem Where Are We? 3 We know that every finite field carries two apparently separate structures: additive and

More information

No Solution Equations Let s look at the following equation: 2 +3=2 +7

No Solution Equations Let s look at the following equation: 2 +3=2 +7 5.4 Solving Equations with Infinite or No Solutions So far we have looked at equations where there is exactly one solution. It is possible to have more than solution in other types of equations that are

More information

1 Stochastic Dynamic Programming

1 Stochastic Dynamic Programming 1 Stochastic Dynamic Programming Formally, a stochastic dynamic program has the same components as a deterministic one; the only modification is to the state transition equation. When events in the future

More information

Lecture 4: Constructing the Integers, Rationals and Reals

Lecture 4: Constructing the Integers, Rationals and Reals Math/CS 20: Intro. to Math Professor: Padraic Bartlett Lecture 4: Constructing the Integers, Rationals and Reals Week 5 UCSB 204 The Integers Normally, using the natural numbers, you can easily define

More information

College Algebra. Chapter 5 Review Created by: Lauren Atkinson. Math Coordinator, Mary Stangler Center for Academic Success

College Algebra. Chapter 5 Review Created by: Lauren Atkinson. Math Coordinator, Mary Stangler Center for Academic Success College Algebra Chapter 5 Review Created by: Lauren Atkinson Math Coordinator, Mary Stangler Center for Academic Success Note: This review is composed of questions from the chapter review at the end of

More information

Presentation 1

Presentation 1 18.704 Presentation 1 Jesse Selover March 5, 2015 We re going to try to cover a pretty strange result. It might seem unmotivated if I do a bad job, so I m going to try to do my best. The overarching theme

More information

Matching Theory and the Allocation of Kidney Transplantations

Matching Theory and the Allocation of Kidney Transplantations University of Utrecht Bachelor Thesis Matching Theory and the Allocation of Kidney Transplantations Kim de Bakker Supervised by Dr. M. Ruijgrok 14 June 2016 Introduction Matching Theory has been around

More information

Partitions and permutations

Partitions and permutations Partitions and permutations Peter J. Cameron School of Mathematical Sciences, Queen Mary, University of London, Mile End Road, London E1 4NS, UK Abstract With any permutation g of a set Ω is associated

More information

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?

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? Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative

More information

A multiplicative deformation of the Möbius function for the poset of partitions of a multiset

A multiplicative deformation of the Möbius function for the poset of partitions of a multiset Contemporary Mathematics A multiplicative deformation of the Möbius function for the poset of partitions of a multiset Patricia Hersh and Robert Kleinberg Abstract. The Möbius function of a partially ordered

More information

Topic 7 Notes Jeremy Orloff

Topic 7 Notes Jeremy Orloff Topic 7 Notes Jeremy Orloff 7 Taylor and Laurent series 7. Introduction We originally defined an analytic function as one where the derivative, defined as a limit of ratios, existed. We went on to prove

More information

Notes on counting. James Aspnes. December 13, 2010

Notes on counting. James Aspnes. December 13, 2010 Notes on counting James Aspnes December 13, 2010 1 What counting is Recall that in set theory we formally defined each natural number as the set of all smaller natural numbers, so that n = {0, 1, 2,...,

More information

If we square the square root of something (that s not negative), we get the something : ( 34) ( ) 34

If we square the square root of something (that s not negative), we get the something : ( 34) ( ) 34 CH 60 MORE PYTHAGOREAN THEOREM AND MORE RADICALS Introduction T he last time we studied the Pythagorean Theorem we may have used our calculator to round square roots that didn t come out whole numbers.

More information

0 Sets and Induction. Sets

0 Sets and Induction. Sets 0 Sets and Induction Sets A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a A to denote that a is an element of the set

More information

VARGA S THEOREM IN NUMBER FIELDS

VARGA S THEOREM IN NUMBER FIELDS VARGA S THEOREM IN NUMBER FIELDS PETE L. CLARK AND LORI D. WATSON Abstract. We give a number field version of a recent result of Varga on solutions of polynomial equations with binary input variables and

More information

Assume that the follow string of bits constitutes one of the segments we which to transmit.

Assume that the follow string of bits constitutes one of the segments we which to transmit. Cyclic Redundancy Checks( CRC) Cyclic Redundancy Checks fall into a class of codes called Algebraic Codes; more specifically, CRC codes are Polynomial Codes. These are error-detecting codes, not error-correcting

More information

Maximising the number of induced cycles in a graph

Maximising the number of induced cycles in a graph Maximising the number of induced cycles in a graph Natasha Morrison Alex Scott April 12, 2017 Abstract We determine the maximum number of induced cycles that can be contained in a graph on n n 0 vertices,

More information

Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 2 Section 16 Solving Single Step Equations

Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 2 Section 16 Solving Single Step Equations Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 2 Please watch Section 16 of this DVD before working these problems. The DVD is located at: http://www.mathtutordvd.com/products/item67.cfm

More information

Generating Function Notes , Fall 2005, Prof. Peter Shor

Generating Function Notes , Fall 2005, Prof. Peter Shor Counting Change Generating Function Notes 80, Fall 00, Prof Peter Shor In this lecture, I m going to talk about generating functions We ve already seen an example of generating functions Recall when we

More information

5.1 Commutative rings; Integral Domains

5.1 Commutative rings; Integral Domains 5.1 J.A.Beachy 1 5.1 Commutative rings; Integral Domains from A Study Guide for Beginner s by J.A.Beachy, a supplement to Abstract Algebra by Beachy / Blair 23. Let R be a commutative ring. Prove the following

More information

Commutative Rings and Fields

Commutative Rings and Fields Commutative Rings and Fields 1-22-2017 Different algebraic systems are used in linear algebra. The most important are commutative rings with identity and fields. Definition. A ring is a set R with two

More information

CHAPTER 3. Congruences. Congruence: definitions and properties

CHAPTER 3. Congruences. Congruence: definitions and properties CHAPTER 3 Congruences Part V of PJE Congruence: definitions and properties Definition. (PJE definition 19.1.1) Let m > 0 be an integer. Integers a and b are congruent modulo m if m divides a b. We write

More information

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations Page 1 Definitions Tuesday, May 8, 2018 12:23 AM Notations " " means "equals, by definition" the set of all real numbers the set of integers Denote a function from a set to a set by Denote the image of

More information

Congruences on the product of two full transformation monoids

Congruences on the product of two full transformation monoids Congruences on the product of two full transformation monoids Wolfram Bentz University of Hull Joint work with João Araújo (Universade Aberta/CEMAT) and Gracinda M.S. Gomes (University of Lisbon/CEMAT)

More information

Combinatorics for algebraic geometers

Combinatorics for algebraic geometers Combinatorics for algebraic geometers Calculations in enumerative geometry Maria Monks March 17, 214 Motivation Enumerative geometry In the late 18 s, Hermann Schubert investigated problems in what is

More information

Quiz 07a. Integers Modulo 12

Quiz 07a. Integers Modulo 12 MA 3260 Lecture 07 - Binary Operations Friday, September 28, 2018. Objectives: Continue with binary operations. Quiz 07a We have a machine that is set to run for x hours, turn itself off for 3 hours, and

More information

The cocycle lattice of binary matroids

The cocycle lattice of binary matroids Published in: Europ. J. Comb. 14 (1993), 241 250. The cocycle lattice of binary matroids László Lovász Eötvös University, Budapest, Hungary, H-1088 Princeton University, Princeton, NJ 08544 Ákos Seress*

More information

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?

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? Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative

More information

Slow k-nim. Vladimir Gurvich a

Slow 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 information

Against the F-score. Adam Yedidia. December 8, This essay explains why the F-score is a poor metric for the success of a statistical prediction.

Against the F-score. Adam Yedidia. December 8, This essay explains why the F-score is a poor metric for the success of a statistical prediction. Against the F-score Adam Yedidia December 8, 2016 This essay explains why the F-score is a poor metric for the success of a statistical prediction. 1 What is the F-score? From Wikipedia: In statistical

More information

Equational Logic and Term Rewriting: Lecture I

Equational Logic and Term Rewriting: Lecture I Why so many logics? You all know classical propositional logic. Why would we want anything more? Equational Logic and Term Rewriting: Lecture I One reason is that we might want to change some basic logical

More information

Chapter 4 Mathematics of Cryptography

Chapter 4 Mathematics of Cryptography Chapter 4 Mathematics of Cryptography Part II: Algebraic Structures Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4.1 Chapter 4 Objectives To review the concept

More information

4. What is the probability that the two values differ by 4 or more in absolute value? There are only six

4. What is the probability that the two values differ by 4 or more in absolute value? There are only six 1. Short Questions: 2/2/2/2/2 Provide a clear and concise justification of your answer. In this problem, you roll two balanced six-sided dice. Hint: Draw a picture. 1. What is the probability that the

More information

arxiv: v1 [math.co] 27 Aug 2015

arxiv: v1 [math.co] 27 Aug 2015 P-positions in Modular Extensions to Nim arxiv:1508.07054v1 [math.co] 7 Aug 015 Tanya Khovanova August 31, 015 Abstract Karan Sarkar In this paper, we consider a modular extension to the game of Nim, which

More information

The Sierpiński Sieve of Nim-varieties and Binomial Coefficients

The Sierpiński Sieve of Nim-varieties and Binomial Coefficients 1 The Sierpiński Sieve of Nim-varieties and Binomial Coefficients Aviezri Fraenkel fraenkel@wisdom.weizmann.ac.il Alex Kontorovich alexk@math.columbia.edu July 27, 2006 Dedicated to Ron Graham on his 70th

More information

Partitions, permutations and posets Péter Csikvári

Partitions, permutations and posets Péter Csikvári Partitions, permutations and posets Péter Csivári In this note I only collect those things which are not discussed in R Stanley s Algebraic Combinatorics boo Partitions For the definition of (number) partition,

More information

Volume in n Dimensions

Volume in n Dimensions Volume in n Dimensions MA 305 Kurt Bryan Introduction You ve seen that if we have two vectors v and w in two dimensions then the area spanned by these vectors can be computed as v w = v 1 w 2 v 2 w 1 (where

More information

Error Correction Review

Error Correction Review Error Correction Review A single overall parity-check equation detects single errors. Hamming codes used m equations to correct one error in 2 m 1 bits. We can use nonbinary equations if we create symbols

More information

Chapter 6 Lagrange Codes

Chapter 6 Lagrange Codes Chapter 6 Lagrange Codes 6. Introduction Joseph Louis Lagrange was a famous eighteenth century Italian mathematician [] credited with minimum degree polynomial interpolation amongst his many other achievements.

More information

1 Modular Arithmetic Grade Level/Prerequisites: Time: Materials: Preparation: Objectives: Navajo Nation Math Circle Connection

1 Modular Arithmetic Grade Level/Prerequisites: Time: Materials: Preparation: Objectives: Navajo Nation Math Circle Connection 1 Modular Arithmetic Students will explore a type of arithmetic that results from arranging numbers in circles instead of on a number line. Students make and prove conjectures about patterns relating to

More information

4 Choice axioms and Baire category theorem

4 Choice axioms and Baire category theorem Tel Aviv University, 2013 Measure and category 30 4 Choice axioms and Baire category theorem 4a Vitali set....................... 30 4b No choice....................... 31 4c Dependent choice..................

More information

Sums of Squares (FNS 195-S) Fall 2014

Sums of Squares (FNS 195-S) Fall 2014 Sums of Squares (FNS 195-S) Fall 014 Record of What We Did Drew Armstrong Vectors When we tried to apply Cartesian coordinates in 3 dimensions we ran into some difficulty tryiing to describe lines and

More information

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic 11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic Bezout s Lemma Let's look at the values of 4x + 6y when x and y are integers. If x is -6 and y is 4 we

More information

Probability 1 (MATH 11300) lecture slides

Probability 1 (MATH 11300) lecture slides Probability 1 (MATH 11300) lecture slides Márton Balázs School of Mathematics University of Bristol Autumn, 2015 December 16, 2015 To know... http://www.maths.bris.ac.uk/ mb13434/prob1/ m.balazs@bristol.ac.uk

More information

Geometrical extensions of Wythoff s game

Geometrical 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