• Nie Znaleziono Wyników

Example 1 - even and odd numbers

N/A
N/A
Protected

Academic year: 2021

Share "Example 1 - even and odd numbers"

Copied!
59
0
0

Pełen tekst

(1)
(2)

Things you need to learn

Write down a general form of a number given the information about its division with remainder.

Use these form to solve simple problems and write simple proofs.

(3)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

b) x is an odd number. x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers. x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers. x = (2k − 1) × (2k + 1) × (2k + 3) k ∈ Z

(4)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z

b) x is an odd number. x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers. x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers. x = (2k − 1) × (2k + 1) × (2k + 3) k ∈ Z

(5)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z b) x is an odd number.

c) x is a product of three consecutive even numbers. x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers. x = (2k − 1) × (2k + 1) × (2k + 3) k ∈ Z

(6)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z b) x is an odd number.

x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers. x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers. x = (2k − 1) × (2k + 1) × (2k + 3) k ∈ Z

(7)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z b) x is an odd number.

x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers.

d) x is a product of three consecutive odd numbers. x = (2k − 1) × (2k + 1) × (2k + 3) k ∈ Z

(8)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z b) x is an odd number.

x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers.

x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers. x = (2k − 1) × (2k + 1) × (2k + 3) k ∈ Z

(9)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z b) x is an odd number.

x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers.

x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers.

(10)

Example 1 - even and odd numbers

Write down an integer x if a) x is an even number.

x = 2k k ∈ Z b) x is an odd number.

x = 2k + 1 k ∈ Z

c) x is a product of three consecutive even numbers.

x = (2k − 2) × 2k × (2k + 2) k ∈ Z

d) x is a product of three consecutive odd numbers.

(11)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

b) x is divisible by 123. x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z e) x is divisible by 4 and 6

x = 12k k ∈ Z

(12)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z

b) x is divisible by 123. x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z e) x is divisible by 4 and 6

x = 12k k ∈ Z

(13)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

c) x is divisible by 2 and 5. x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z e) x is divisible by 4 and 6

x = 12k k ∈ Z

(14)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z

c) x is divisible by 2 and 5. x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z e) x is divisible by 4 and 6

x = 12k k ∈ Z

(15)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z c) x is divisible by 2 and 5.

d) x is divisible by 2 and 6 x = 6k k ∈ Z e) x is divisible by 4 and 6

x = 12k k ∈ Z

(16)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z

d) x is divisible by 2 and 6 x = 6k k ∈ Z e) x is divisible by 4 and 6

x = 12k k ∈ Z

(17)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z d) x is divisible by 2 and 6

e) x is divisible by 4 and 6 x = 12k k ∈ Z

(18)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z

e) x is divisible by 4 and 6 x = 12k k ∈ Z

(19)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z e) x is divisible by 4 and 6

(20)

Example 2 - divisibility

Write down an integer x if a) x is divisible by 7.

x = 7k k ∈ Z b) x is divisible by 123.

x = 123k k ∈ Z c) x is divisible by 2 and 5.

x = 10k k ∈ Z d) x is divisible by 2 and 6

x = 6k k ∈ Z

(21)

Remember, if a number is divisible by m and n, then it is divisible by lcm(m, n), but not necessarily by mn.

(22)

Example 3 - remainders

Write a natural number x if

a) the remainder when x is divided 5 is equal to 3.

x = 5k + 3 k ∈ N

b) the remainder when x is divided 11 is equal to 2. x = 11k + 2 k ∈ N

c) the remainder when x is divided 7 is equal to 6. x = 7k + 6 k ∈ N

(23)

Example 3 - remainders

Write a natural number x if

a) the remainder when x is divided 5 is equal to 3.

x = 5k + 3 k ∈ N

x = 11k + 2 k ∈ N

c) the remainder when x is divided 7 is equal to 6. x = 7k + 6 k ∈ N

(24)

Example 3 - remainders

Write a natural number x if

a) the remainder when x is divided 5 is equal to 3.

x = 5k + 3 k ∈ N

b) the remainder when x is divided 11 is equal to 2.

x = 11k + 2 k ∈ N

c) the remainder when x is divided 7 is equal to 6. x = 7k + 6 k ∈ N

(25)

Example 3 - remainders

Write a natural number x if

a) the remainder when x is divided 5 is equal to 3.

x = 5k + 3 k ∈ N

b) the remainder when x is divided 11 is equal to 2.

x = 11k + 2 k ∈ N

x = 7k + 6 k ∈ N

(26)

Example 3 - remainders

Write a natural number x if

a) the remainder when x is divided 5 is equal to 3.

x = 5k + 3 k ∈ N

b) the remainder when x is divided 11 is equal to 2.

x = 11k + 2 k ∈ N

c) the remainder when x is divided 7 is equal to 6.

x = 7k + 6 k ∈ N

(27)

Write a natural number x if

a) the remainder when x is divided 5 is equal to 3.

x = 5k + 3 k ∈ N

b) the remainder when x is divided 11 is equal to 2.

x = 11k + 2 k ∈ N

c) the remainder when x is divided 7 is equal to 6.

x = 7k + 6 k ∈ N

(28)

Example 4 - remainders

Write down three consecutive integers such that a) the remainder when they are divided by 6 is 1

6k + 1, 6k + 7, 6k + 13 k ∈ Z

Note: you could have also written for example: 6k − 5, 6k + 1, 6k + 7 k ∈ Z

b) the remainder when they are divided by 13 is 5 . 13k + 5, 13k + 18, 13k + 31 k ∈ Z

Note: again, another possible way would be: 13k − 8, 13k + 5, 13k + 18 k ∈ Z

(29)

Example 4 - remainders

Write down three consecutive integers such that a) the remainder when they are divided by 6 is 1

6k + 1, 6k + 7, 6k + 13 k ∈ Z

6k − 5, 6k + 1, 6k + 7 k ∈ Z

b) the remainder when they are divided by 13 is 5 . 13k + 5, 13k + 18, 13k + 31 k ∈ Z

Note: again, another possible way would be: 13k − 8, 13k + 5, 13k + 18 k ∈ Z

(30)

Example 4 - remainders

Write down three consecutive integers such that a) the remainder when they are divided by 6 is 1

6k + 1, 6k + 7, 6k + 13 k ∈ Z

Note: you could have also written for example:

6k − 5, 6k + 1, 6k + 7 k ∈ Z

b) the remainder when they are divided by 13 is 5 . 13k + 5, 13k + 18, 13k + 31 k ∈ Z

Note: again, another possible way would be: 13k − 8, 13k + 5, 13k + 18 k ∈ Z

(31)

Example 4 - remainders

Write down three consecutive integers such that a) the remainder when they are divided by 6 is 1

6k + 1, 6k + 7, 6k + 13 k ∈ Z

Note: you could have also written for example:

6k − 5, 6k + 1, 6k + 7 k ∈ Z

b) the remainder when they are divided by 13 is 5 .

Note: again, another possible way would be: 13k − 8, 13k + 5, 13k + 18 k ∈ Z

(32)

Example 4 - remainders

Write down three consecutive integers such that a) the remainder when they are divided by 6 is 1

6k + 1, 6k + 7, 6k + 13 k ∈ Z

Note: you could have also written for example:

6k − 5, 6k + 1, 6k + 7 k ∈ Z

b) the remainder when they are divided by 13 is 5 . 13k + 5, 13k + 18, 13k + 31 k ∈ Z

Note: again, another possible way would be: 13k − 8, 13k + 5, 13k + 18 k ∈ Z

(33)

Write down three consecutive integers such that a) the remainder when they are divided by 6 is 1

6k + 1, 6k + 7, 6k + 13 k ∈ Z

Note: you could have also written for example:

6k − 5, 6k + 1, 6k + 7 k ∈ Z

b) the remainder when they are divided by 13 is 5 . 13k + 5, 13k + 18, 13k + 31 k ∈ Z

Note: again, another possible way would be:

13k − 8, 13k + 5, 13k + 18 k ∈ Z

(34)

Example 5

Find three consecutive odd numbers whose sum is 159

(2k − 1) + (2k + 1) + (2k + 3) = 159 6k = 156

k = 26

2k − 1 = 2 × 26 − 1 = 51 The numbers are 51, 53 and 55.

(35)

Example 5

Find three consecutive odd numbers whose sum is 159

(2k − 1) + (2k + 1) + (2k + 3) = 159 6k = 156

k = 26

The numbers are 51, 53 and 55.

(36)

Example 5

Find three consecutive odd numbers whose sum is 159

(2k − 1) + (2k + 1) + (2k + 3) = 159 6k = 156

k = 26

2k − 1 = 2 × 26 − 1 = 51

(37)

Example 6

Find four consecutive numbers, which when divide by 4 give remainder equal to 3, and their sum is 116.

16k = 96 k = 6

4k − 1 = 4 × 6 − 1 = 23 The numbers are 23, 27, 31 and 35.

(38)

Example 6

Find four consecutive numbers, which when divide by 4 give remainder equal to 3, and their sum is 116.

(4k − 1) + (4k + 3) + (4k + 7) + (4k + 11) = 116 16k = 96

k = 6

4k − 1 = 4 × 6 − 1 = 23 The numbers are 23, 27, 31 and 35.

(39)

Find four consecutive numbers, which when divide by 4 give remainder equal to 3, and their sum is 116.

(4k − 1) + (4k + 3) + (4k + 7) + (4k + 11) = 116 16k = 96

k = 6

4k − 1 = 4 × 6 − 1 = 23 The numbers are 23, 27, 31 and 35.

(40)

Example 7

Show that a square of an odd number is an odd number.

We start with an odd number 2k + 1, we want to show that after we square it, we will still be able to write it in this form.

(2k + 1)2 = 4k2+ 4k + 1 = 2(2k2+ 2k) + 1 = 2m + 1 where m = 2k2+ 2k, and so m is a integer. So (2k + 1)2 is in the form 2m + 1, with m integer, so it is odd.

(41)

Example 7

Show that a square of an odd number is an odd number. We start with an odd number 2k + 1,

be able to write it in this form.

(2k + 1)2 = 4k2+ 4k + 1 = 2(2k2+ 2k) + 1 = 2m + 1 where m = 2k2+ 2k, and so m is a integer. So (2k + 1)2 is in the form 2m + 1, with m integer, so it is odd.

(42)

Example 7

Show that a square of an odd number is an odd number. We start with an odd number 2k + 1, we want to show that after we square it, we will still be able to write it in this form.

(2k + 1)2 = 4k2+ 4k + 1 = 2(2k2+ 2k) + 1 = 2m + 1 where m = 2k2+ 2k, and so m is a integer. So (2k + 1)2 is in the form 2m + 1, with m integer, so it is odd.

(43)

Example 7

Show that a square of an odd number is an odd number. We start with an odd number 2k + 1, we want to show that after we square it, we will still be able to write it in this form.

(2k + 1)2 = 4k2+ 4k + 1 = 2(2k2+ 2k) + 1 = 2m + 1 where m = 2k2+ 2k, and so m is a integer.

2m + 1, with m integer, so it is odd.

(44)

Example 7

Show that a square of an odd number is an odd number. We start with an odd number 2k + 1, we want to show that after we square it, we will still be able to write it in this form.

(2k + 1)2 = 4k2+ 4k + 1 = 2(2k2+ 2k) + 1 = 2m + 1 where m = 2k2+ 2k, and so m is a integer. So (2k + 1)2 is in the form 2m + 1, with m integer, so it is odd.

(45)

Example 7

A number n has a remainder of 2, when divided by 3. Find the remainder of n2, when divided by 3.

n2= (3k + 2)2 = 9k2+ 12k + 4 = 3(3k2+ 4k + 1) + 1 = 3m + 1 where m = 3k2+ 4k + 1, so it’s an integer. So n2 is of the form 3m + 1, with m integer, so it has a remainder of 1, when divided by 3.

(46)

Example 7

A number n has a remainder of 2, when divided by 3. Find the remainder of n2, when divided by 3.

We start with n = 3k + 2, we will square it and see what we get.

n2= (3k + 2)2 = 9k2+ 12k + 4 = 3(3k2+ 4k + 1) + 1 = 3m + 1 where m = 3k2+ 4k + 1, so it’s an integer. So n2 is of the form 3m + 1, with m integer, so it has a remainder of 1, when divided by 3.

(47)

Example 7

A number n has a remainder of 2, when divided by 3. Find the remainder of n2, when divided by 3.

We start with n = 3k + 2, we will square it and see what we get.

n2= (3k + 2)2 = 9k2+ 12k + 4 = 3(3k2+ 4k + 1) + 1 = 3m + 1 where m = 3k2+ 4k + 1, so it’s an integer.

with m integer, so it has a remainder of 1, when divided by 3.

(48)

Example 7

A number n has a remainder of 2, when divided by 3. Find the remainder of n2, when divided by 3.

We start with n = 3k + 2, we will square it and see what we get.

n2= (3k + 2)2 = 9k2+ 12k + 4 = 3(3k2+ 4k + 1) + 1 = 3m + 1 where m = 3k2+ 4k + 1, so it’s an integer. So n2 is of the form 3m + 1, with m integer, so it has a remainder of 1, when divided by 3.

(49)

Example 8

Show that a product of two odd numbers is an odd number.

some integers. We want to multiply them:

(2k + 1)(2m + 1) = 4km + 2k + 2m + 1 = 2(2km + k + m) + 1 = 2n + 1 where n = 2km + k + m, so it’s an integer. So we got the form 2n + 1, with n being an integer, which means that we got an odd number.

(50)

Example 8

Show that a product of two odd numbers is an odd number.

We start with two odd numbers 2k + 1 and 2m + 1, where k and m are some integers. We want to multiply them:

(2k + 1)(2m + 1) = 4km + 2k + 2m + 1 = 2(2km + k + m) + 1 = 2n + 1 where n = 2km + k + m, so it’s an integer. So we got the form 2n + 1, with n being an integer, which means that we got an odd number.

(51)

Example 8

Show that a product of two odd numbers is an odd number.

We start with two odd numbers 2k + 1 and 2m + 1, where k and m are some integers. We want to multiply them:

(2k + 1)(2m + 1) = 4km + 2k + 2m + 1 = 2(2km + k + m) + 1 = 2n + 1 where n = 2km + k + m, so it’s an integer.

with n being an integer, which means that we got an odd number.

(52)

Example 8

Show that a product of two odd numbers is an odd number.

We start with two odd numbers 2k + 1 and 2m + 1, where k and m are some integers. We want to multiply them:

(2k + 1)(2m + 1) = 4km + 2k + 2m + 1 = 2(2km + k + m) + 1 = 2n + 1 where n = 2km + k + m, so it’s an integer. So we got the form 2n + 1, with n being an integer, which means that we got an odd number.

(53)

Example 9

Show that a square number is divisible by 4 or has remainder 1 when divided by 4.

4k + 3. In other words, given any integer it is divisible by 4 or gives remainder 1, 2 or 3, when divided by 4. Let’s square all these numbers and see what happens:

(4k)2 = 16k2= 4 × 4k2 = 4m

(4k + 1)2 = 16k2+ 8k + 1 = 4(4k2+ 2k) + 1 = 4n + 1 (4k + 2)2 = 16k2+ 16k + 4 = 4(4k2+ 4k + 1) = 4s

(4k + 3)2 = 16k2+ 24k + 9 = 4(4k2+ 6k + 2) + 1 = 4t + 1 in each case we have a number of the form 4m or 4m + 1, so we either have a number divisible by 4 or that gives remainder 1 when divided by 1.

(54)

Example 9

Show that a square number is divisible by 4 or has remainder 1 when divided by 4.

Any integer has to be in of the following forms: 4k, 4k + 1, 4k + 2 or 4k + 3.

In other words, given any integer it is divisible by 4 or gives remainder 1, 2 or 3, when divided by 4. Let’s square all these numbers and see what happens:

(4k)2 = 16k2= 4 × 4k2 = 4m

(4k + 1)2 = 16k2+ 8k + 1 = 4(4k2+ 2k) + 1 = 4n + 1 (4k + 2)2 = 16k2+ 16k + 4 = 4(4k2+ 4k + 1) = 4s

(4k + 3)2 = 16k2+ 24k + 9 = 4(4k2+ 6k + 2) + 1 = 4t + 1 in each case we have a number of the form 4m or 4m + 1, so we either have a number divisible by 4 or that gives remainder 1 when divided by 1.

(55)

Example 9

Show that a square number is divisible by 4 or has remainder 1 when divided by 4.

Any integer has to be in of the following forms: 4k, 4k + 1, 4k + 2 or 4k + 3. In other words, given any integer it is divisible by 4 or gives remainder 1, 2 or 3, when divided by 4.

see what happens:

(4k)2 = 16k2= 4 × 4k2 = 4m

(4k + 1)2 = 16k2+ 8k + 1 = 4(4k2+ 2k) + 1 = 4n + 1 (4k + 2)2 = 16k2+ 16k + 4 = 4(4k2+ 4k + 1) = 4s

(4k + 3)2 = 16k2+ 24k + 9 = 4(4k2+ 6k + 2) + 1 = 4t + 1 in each case we have a number of the form 4m or 4m + 1, so we either have a number divisible by 4 or that gives remainder 1 when divided by 1.

(56)

Example 9

Show that a square number is divisible by 4 or has remainder 1 when divided by 4.

Any integer has to be in of the following forms: 4k, 4k + 1, 4k + 2 or 4k + 3. In other words, given any integer it is divisible by 4 or gives remainder 1, 2 or 3, when divided by 4. Let’s square all these numbers and see what happens:

(4k)2 = 16k2= 4 × 4k2 = 4m

(4k + 1)2 = 16k2+ 8k + 1 = 4(4k2+ 2k) + 1 = 4n + 1 (4k + 2)2 = 16k2+ 16k + 4 = 4(4k2+ 4k + 1) = 4s

(4k + 3)2 = 16k2+ 24k + 9 = 4(4k2+ 6k + 2) + 1 = 4t + 1 in each case we have a number of the form 4m or 4m + 1, so we either have a number divisible by 4 or that gives remainder 1 when divided by 1.

(57)

Example 9

Show that a square number is divisible by 4 or has remainder 1 when divided by 4.

Any integer has to be in of the following forms: 4k, 4k + 1, 4k + 2 or 4k + 3. In other words, given any integer it is divisible by 4 or gives remainder 1, 2 or 3, when divided by 4. Let’s square all these numbers and see what happens:

(4k)2 = 16k2= 4 × 4k2 = 4m

(4k + 1)2 = 16k2+ 8k + 1 = 4(4k2+ 2k) + 1 = 4n + 1 (4k + 2)2 = 16k2+ 16k + 4 = 4(4k2+ 4k + 1) = 4s

(4k + 3)2 = 16k2+ 24k + 9 = 4(4k2+ 6k + 2) + 1 = 4t + 1

have a number divisible by 4 or that gives remainder 1 when divided by 1.

(58)

Example 9

Show that a square number is divisible by 4 or has remainder 1 when divided by 4.

Any integer has to be in of the following forms: 4k, 4k + 1, 4k + 2 or 4k + 3. In other words, given any integer it is divisible by 4 or gives remainder 1, 2 or 3, when divided by 4. Let’s square all these numbers and see what happens:

(4k)2 = 16k2= 4 × 4k2 = 4m

(4k + 1)2 = 16k2+ 8k + 1 = 4(4k2+ 2k) + 1 = 4n + 1 (4k + 2)2 = 16k2+ 16k + 4 = 4(4k2+ 4k + 1) = 4s

(4k + 3)2 = 16k2+ 24k + 9 = 4(4k2+ 6k + 2) + 1 = 4t + 1

(59)

questions/proofs similar to the ones on the presentation.

Cytaty

Powiązane dokumenty

(b) Complete the following truth table, relating to the statement made in part (a), and decide whether the statement is logically valid.. p: Jones passed this course q: Smith

A satellite travels around the Earth in a circular orbit 500 kilometres above the Earth’s surface.. The radius of the Earth is taken as

(a) For this series, find the common ratio, giving your answer as a fraction in its simplest form.. (b) Find the fifteenth term of

He encloses this area using x metres of the hedge on one side as shown on the

(ii) Hence find the time intervals in the 24-hour period during which the water is less than 10 metres deep... Find the value of a, the value of b and the value

(3) (b) The company would like the probability that a box passes inspection to be 0.87. Find the percentage of boxes that should be made by machine B to

And, of course, you should be able to countTheOranges (which returns the number of oranges on the tree), and pickAnOrange (which reduces the @orangeCount by one

More formally, a flower consists of an even alternating path P from an exposed vertex u to a vertex v, called the stem, and an odd cycle containing v in which the edges