Divisibility. Igor Zelenko. SEE Math, August 13-14, 2012

Similar documents
Sheet 1: Introduction to prime numbers.

Multiples and Divisibility

Activity 1: Play comparison games involving fractions, decimals and/or integers.

Modular arithmetic Math 2320

Solutions for the Practice Questions

Final Exam, Math 6105

PRIMES STEP Plays Games

ALGEBRA: Chapter I: QUESTION BANK

Mathematics Explorers Club Fall 2012 Number Theory and Cryptography

Removing the Fear of Fractions from Your Students Thursday, April 16, 2015: 9:30 AM-10:30 AM 157 A (BCEC) Lead Speaker: Joseph C.

Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm

Discrete Math Class 4 ( )

Modular Arithmetic. Kieran Cooney - February 18, 2016

Grade 6 Math Circles March 1-2, Introduction to Number Theory

Carmen s Core Concepts (Math 135)

Grade 6 Math Circles. Divisibility

Problem 2A Consider 101 natural numbers not exceeding 200. Prove that at least one of them is divisible by another one.

Class 8: Square Roots & Cube Roots (Lecture Notes)

Math 255 Spring 2017 Solving x 2 a (mod n)

Extra Practice 1. Name Date. Lesson 1: Numbers in the Media. 1. Rewrite each number in standard form. a) 3.6 million

Class 8: Factors and Multiples (Lecture Notes)

Extra Practice 1. Name Date. Lesson 1: Numbers in the Media. 1. Rewrite each number in standard form. a) 3.6 million b) 6 billion c)

Solutions to Exam 1. Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers.


Sample pages. Multiples, factors and divisibility. Recall 2. Student Book

Launchpad Maths. Arithmetic II

The Chinese Remainder Theorem

Jim and Nim. Japheth Wood New York Math Circle. August 6, 2011

I.M.O. Winter Training Camp 2008: Invariants and Monovariants

Applications of Fermat s Little Theorem and Congruences

SOLUTIONS TO PROBLEM SET 5. Section 9.1

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained.

2. Nine points are distributed around a circle in such a way that when all ( )

Distribution of Primes

Team Round University of South Carolina Math Contest, 2018

Solutions for the Practice Final

1st Grade Math. Please complete the activity below for the day indicated. Day 1: Double Trouble. Day 2: Greatest Sum. Day 3: Make a Number

Squares and Square roots

Example Enemy agents are trying to invent a new type of cipher. They decide on the following encryption scheme: Plaintext converts to Ciphertext

Year 6. Mathematics A booklet for parents

NUMBER THEORY AMIN WITNO

4th Pui Ching Invitational Mathematics Competition. Final Event (Secondary 1)

Table of Contents. Table of Contents 1

G R AD E 4 UNIT 3: FRACTIONS - LESSONS 1-3

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

Math 127: Equivalence Relations

Adding Fractions with Different Denominators. Subtracting Fractions with Different Denominators

MidMichigan Olympiad Problems 5-6

It is important that you show your work. The total value of this test is 220 points.

Grade 7/8 Math Circles February 9-10, Modular Arithmetic

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively.

The congruence relation has many similarities to equality. The following theorem says that congruence, like equality, is an equivalence relation.

Number Theory. Konkreetne Matemaatika

Exam 1 7 = = 49 2 ( ) = = 7 ( ) =

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012

Modular Arithmetic: refresher.

A C E. Answers Investigation 1. Applications. b. No; 6 18 = b. n = 12 c. n = 12 d. n = 20 e. n = 3

Numbers (8A) Young Won Lim 5/24/17

Number Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory

Problem Set 10 2 E = 3 F

Numbers (8A) Young Won Lim 6/21/17

Problem F. Chessboard Coloring

Teacher s Notes. Problem of the Month: Courtney s Collection

Solutions of problems for grade R5

CS1802 Week 9: Probability, Expectation, Entropy

Constructions of Coverings of the Integers: Exploring an Erdős Problem

Multiple : The product of a given whole number and another whole number. For example, some multiples of 3 are 3, 6, 9, and 12.

Classwork Example 1: Exploring Subtraction with the Integer Game

Solving Big Problems

How to Become a Mathemagician: Mental Calculations and Math Magic

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00

International Contest-Game MATH KANGAROO Canada, 2007

Public Key Encryption

Quantitative Aptitude Preparation Numbers. Prepared by: MS. RUPAL PATEL Assistant Professor CMPICA, CHARUSAT

Math Circle: Logic Puzzles

6.2 Modular Arithmetic

Data security (Cryptography) exercise book

Practice Midterm 2 Solutions

Grade 6 Math Circles March 8-9, Modular Arithmetic

Roll & Make. Represent It a Different Way. Show Your Number as a Number Bond. Show Your Number on a Number Line. Show Your Number as a Strip Diagram

Whatcom County Math Championship 2016 Individual 4 th Grade

Fair Game Review. Chapter 2. Name Date. Write the decimal as a fraction Write the fraction as a decimal. 7.

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand.

What numbers can we make?

Number Theory/Cryptography (part 1 of CSC 282)

Math 152: Applicable Mathematics and Computing

L_sson 9 Subtracting across zeros

Lecture 32. Handout or Document Camera or Class Exercise. Which of the following is equal to [53] [5] 1 in Z 7? (Do not use a calculator.

Use the following games to help students practice the following [and many other] grade-level appropriate math skills.

University of British Columbia. Math 312, Midterm, 6th of June 2017

An ordered collection of counters in rows or columns, showing multiplication facts.

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005

Grab Bag Math ➊ ➋ ➌ ➍ ➎ ➏ ON THEIR OWN. Can you figure out all the ways to build one-layer rectangular boxes with Snap Cubes?

I can use the four operations (+, -, x, ) to help me understand math.

Numbers (8A) Young Won Lim 5/22/17

Olympiad Combinatorics. Pranav A. Sriram

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013

T101 DEPARTMENTAL FINAL REVIEW

A1 Problem Statement Unit Pricing

Review. Natural Numbers: Whole Numbers: Integers: Rational Numbers: Outline Sec Comparing Rational Numbers

Transcription:

Divisibility Igor Zelenko SEE Math, August 13-14, 2012

Before getting started Below is the list of problems and games I prepared for our activity. We will certainly solve/discuss/play only part of them and maybe in different order. It is recommended to continue to work at home on the problem we will not have time to discuss today.

Problem 1

Problem 1 In one kingdom there are only two kinds of coins: a coin of 9 cents and a coin of 15 cents. Can we get 70 cents using these coins?

Remark In general, given integer numbers a, b, and c, if the equation ax + by = c has an integer solutions x and y, then c must be divisible by the greatest common divisor (gcd) of a and b.

Remark In general, given integer numbers a, b, and c, if the equation ax + by = c has an integer solutions x and y, then c must be divisible by the greatest common divisor (gcd) of a and b. Moreover (for further thinking), if c is divisible by gcd (a,b) then the equation ax + by = c has integer solutions (in fact infinitely many). The latter is based on the so-called Euclid s algorithm for finding gcd.

Problem for home Three piles of stones contain 51, 49 and 5 stones respectively. It is allowed to unify any two piles to one pile and to divide a pile containing an even number of stones into two piles with the equal number of stones. Is it possible to get in this way 105 piles of one stone.

Problem 2

Problem 2 (a) Show that a square of a natural number has an odd number of divisors.

Problem 2 (a) Show that a square of a natural number has an odd number of divisors. (b) Is the converse statement true,

Problem 2 (a) Show that a square of a natural number has an odd number of divisors. (b) Is the converse statement true, i.e., if a number has an odd number of divisors, then is it a perfect square?

Problem 3 In some kingdom there was a jail with 100 cells, enumerated from 1 to 100. In each cell there was one prisoner. The locks in the cells were arrange such that the locked door becomes unlocked after one turn of the key clockwise and the unlocked door became locked after one turn of the key clockwise.

Problem 3 In some kingdom there was a jail with 100 cells, enumerated from 1 to 100. In each cell there was one prisoner. The locks in the cells were arrange such that the locked door becomes unlocked after one turn of the key clockwise and the unlocked door became locked after one turn of the key clockwise. The king was in a battle against one of his neighbor and at some moment he thought he is going to win. Being exited, he sent a messenger with an order to unlock all cells in the prison. However, the situation in the battlefield has changed quickly and the king sent another messenger (in pursuit of the first one) with the order to turn a key clockwise in each second cell. Then the situation in the battlefield improved and he sent the third messenger with an order to turn a key clockwise in each third cell and so on.

Problem 3 In some kingdom there was a jail with 100 cells, enumerated from 1 to 100. In each cell there was one prisoner. The locks in the cells were arrange such that the locked door becomes unlocked after one turn of the key clockwise and the unlocked door became locked after one turn of the key clockwise. The king was in a battle against one of his neighbor and at some moment he thought he is going to win. Being exited, he sent a messenger with an order to unlock all cells in the prison. However, the situation in the battlefield has changed quickly and the king sent another messenger (in pursuit of the first one) with the order to turn a key clockwise in each second cell. Then the situation in the battlefield improved and he sent the third messenger with an order to turn a key clockwise in each third cell and so on. In this way 100 messengers arrived to the jail almost simultaneously and turned successively the keys according to the king orders. After this procedure, how many prisoners were free and from what cells are they?

Divisibility by 9 test, Problem 4

Divisibility by 9 test, Problem 4 (a) Show that the difference of a natural number and the sum of its digit is divisible by 9.

Divisibility by 9 test, Problem 4 (a) Show that the difference of a natural number and the sum of its digit is divisible by 9. (b) Deduce from here the following generalization of the divisibility by 9 test: the remainders after division by 9 of a number and the sum of its digits are equal.

Divisibility by 9 test, Problem 4 (a) Show that the difference of a natural number and the sum of its digit is divisible by 9. (b) Deduce from here the following generalization of the divisibility by 9 test: the remainders after division by 9 of a number and the sum of its digits are equal. In particular, this implies the very well know divisibility by 9 test: the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 9 if and only of a 0 + a 1 +... + a n 1 is divisible by 9.

Applications of divisibility by 9 test: Problem 5 John found the number 100! = 1 2... 100. Then he sum up all digits of this number, then he sum up all digits in this new number and so on till he got a one-digit number. What is this number?

Applications of divisibility by 9 test: Problem 6 After changing the order of digits in some number one gets a number that is three times bigger than the original one. Prove that the resulting number is a multiple of 27.

Application of divisibility by 9 test: Problem 7 Find the minimal natural number containing only digits 1 and 0 (in its decimal form) which is divided by 225.

Divisibility by 11 tests: Problem 8 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 11 if and only of a 0 a 1 + a 2 a 3... + ( 1) n 1 a n 1 is divisible by 11

Divisibility by 11 tests: Problem 8 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 11 if and only of a 0 a 1 + a 2 a 3... + ( 1) n 1 a n 1 is divisible by 11 or, equivalently, the difference of the sum of all odd digits and the sum of all even digits is divisible by 11.

Divisibility by 11 tests: Problem 8 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 11 if and only of a 0 a 1 + a 2 a 3... + ( 1) n 1 a n 1 is divisible by 11 or, equivalently, the difference of the sum of all odd digits and the sum of all even digits is divisible by 11. (b) Using this test, check whether 82918 is divisible by 11.

Divisibility by 7 test: Problem 9 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 7 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 5a 0 is divisible by 7.

Divisibility by 7 test: Problem 9 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 7 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 5a 0 is divisible by 7. In other words, we first take the number obtained from the original one by erasing the last digit (the digit of units) and then add to it the last digit multiplied by 5.

Divisibility by 7 test: Problem 9 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 7 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 5a 0 is divisible by 7. In other words, we first take the number obtained from the original one by erasing the last digit (the digit of units) and then add to it the last digit multiplied by 5. (b) Using this test, check whether the number 12341 is divisible by 7.

Divisibility by 7 test: Problem 9 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 7 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 5a 0 is divisible by 7. In other words, we first take the number obtained from the original one by erasing the last digit (the digit of units) and then add to it the last digit multiplied by 5. (b) Using this test, check whether the number 12341 is divisible by 7. (c) Deduce a similar test for divisibility by 49.

Divisibility by 13 test: Problem 10 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 13 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 4a 0

Divisibility by 13 test: Problem 10 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 13 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 4a 0 In other words, we first take the number obtained from the original one by erasing the last digit (the digit of units) and then add to it the last digit multiplied by 4.

Divisibility by 13 test: Problem 10 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 13 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 4a 0 In other words, we first take the number obtained from the original one by erasing the last digit (the digit of units) and then add to it the last digit multiplied by 4. (b ) Using this test, check whether the number 10205 is divisible by 13.

Divisibility by 13 test: Problem 10 (a) Show that the number (a n 1 a n 2... a 1 a 0 ) 10 is divisible by 13 if and only if the number the number (a n 1 a n 2... a 1 ) 10 + 4a 0 In other words, we first take the number obtained from the original one by erasing the last digit (the digit of units) and then add to it the last digit multiplied by 4. (b ) Using this test, check whether the number 10205 is divisible by 13. (c) Deduce a similar test for divisibility by 39.

If you ambitious: Problems for home Find similar test for divisibility by 17, 23, 27, 29, 59, 79, 89 and more.

Game using divisibility A pile contains n stones. Two players participate in the game. At each turn, a player may take no more than p stones from the pile but he mus take at least one stone. The loser is the player who cannot move. Which player has the winning strategy (the answer actually depends on n and p).

Remainders and periodicity. Problem 11 Find the last digit of the number 777 777

Remainders and periodicity. Problem 12 Find the remainder when the number 3 2011 is divided by 7.