Yr7 NumberTheory
Yr7 NumberTheory
Dr J Frost ([email protected])
www.drfrostmaths.com
Objectives: Have an appreciation of properties of integers (whole
numbers), including finding the Lowest Common Multiple, Highest
Common Factor, and using the prime factorisation of numbers for a
variety of purposes. Reason about divisibility in equations.
The first 16 square numbers: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
121, 144, 169, 196, ? 225, 256
The first 8 cube numbers: 1, 8, 27, 64, 125, 216, 343, 512
?
The prime numbers up to 40: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31,
37 ?
The first 10 triangular numbers: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66
(e.g. 3 is a triangular number as you can form a
triangle using 1 dot on the first row and 2 on the next) ?
If you finish:
A ‘perfect’ number is a number who factors (excluding itself) add up to itself.
For example. The factors of 6 (excluding 6) are 1, 2, 3, and .
Find the first perfect number after 6.
! ?
Integer: A whole number.
? is at least 1.
Positive integer: An integer that
Non-negative integer: An integer that ? is at least 0.
Perfect square: For integers, just ?a square number.
Divisor: Another word ? for factor.
Composite: The opposite of prime: ? has other factors.
! Distinct integers: Bro Side Note: A ‘perfect
square’ more generally refers to
Numbers which ?are different! ‘something squared’, which can
be an algebraic expression.
For example is a ‘perfect
square’, but is not necessarily a
square number, e.g. if (as )
Puzzles involving sums of primes/squares/…
Example: Goldbach’s Conjecture (as of current, unproven!) states that all even
numbers greater than 2 are the sum of two primes.
Bro Tip: It often
How many ways are there of expressing 100 as the sum of two primes?
helps to write
Solution: 6 (3 + 97, 11 + 89, 17 + 83, 29 + 71, 41 + 59, 47 + 53) out your
? numbers of
interest (primes,
squares, …) first.
?
(Side note: the smallest square number expressible as the sum of two
squares in two different ways is )
Exercise 1
(Problems on provided sheet)
Solution: D ?
5 [JMC 2006 Q20] The sum of three different prime numbers is 40. What is the difference
between the two biggest of these numbers?
A 8 B 12 C 16
D 20 E 24
Important Note: If three numbers sum to an even
number, they can’t all be odd. But 2 is the only even
Solution: E ? number, so must be one of the numbers.
[JMC 2010 Q22] Kiran writes down six different prime numbers, , all less than 20, such
6
that . What is the value of ?
A 16 B 18 C 20
D 22 E 24
Solution: E ?
7 [TMC Regional 2009 Q9] 12345 can be expressed as the sum of two primes in exactly one
way. What is the larger of the two primes?
?
Solution: 12343. Note that odd = odd + even only. Thus one of the two primes must be 2.
Exercise 1
?
Solution: 23
?
Year 7 Prime Factorisation
Prime Factorisation
To find the prime factorisation of a number is to express it as a product of
prime numbers.
30=2 ×3 × 5 ?
?
Bro Tip: While is also correct, we can use ‘index notation’ to group
prime factors together that are the same.
2 3
2250=2 × 3 ×
? 5
2250
225 10
45 Possible Tree
5 2 5
?
9 5
3 3
Check Your Understanding
Using a tree, find the prime factorisation of 1350.
When done, try coming up with more trees. What do you notice about the final result
in each case?
3 2
1350=2 ×3 × 5
?
1350 1350
5 270
10 135
3
2 5 5 27 Some Possible
90
Trees
3 9 ?3 30
5 6
3 3
2 3
We always end up with the same leaves each time, and hence the same factorisation.
Fundamental Law of Arithmetic/Unique Factorisation Theorem: Every positive integer
can be uniquely expressed as a product of primes.
Prime Factorising a number already in index form
Sometimes you might have a number with powers, but the base (the big number) is
not prime. How would you prime factorise this? What if a base was repeated?
3 ?
3 3 4
10 =( 2 ×5 2
) ×2 ?
?
?
?
TRUE OF FALSE?
(use front of planner for true, back for false)
Q1 a factor of ?
True False
TRUE OF FALSE?
Q2 a multiple of ?
True False
7 3
Using prime factorisations
TRUE OF FALSE?
Q3 a factor of ?
True False
TRUE OF FALSE?
Q4 a factor of ?
True False
TRUE OF FALSE?
Q5 Is a factor of ?
True False
3
2 2 Remarks: Yes, we have three 2s, two 3s and one 5
available.
2 3 We can select a 3 and a 5 to form a factor of 15.
5
Using prime factorisations
TRUE OF FALSE?
Q6 a multiple of ?
True False
2 2
Remarks: We could equivalently ask whether is a
2 factor of .
3 The answer is no because there are only two 3s
2 5
available in , so a factor couldn’t use three 3s.
3
2
Listing factors
TASK: List all the factors of
(leaving each factor in prime factorised form)
2 2
number if we make some selection from
all the prime factors.
?
2 ×3
?
3
? 2
? 2 3
?
?
? We get 1 as the factor in the
special case where we use
? none of the prime factors
(note that 1 is not prime!)
Further Practice
1 List all the factors of (leaving 2 List all the factors of (leaving
each factor in prime factorised each factor in prime factorised
form) form)
3 6
3 ×5 2 ? ?
Number of factors
How many factors does have?
We can see that has 9 factors. But could
we have obtained this number without
having to list them all out?
2 2
2 ×3
Q: How many possibilities were there for the
number of 2s we use for a particular factor?
3 possibilities: We use 2 of them, 1 of them,
or none at all. ?
Q: How many possibilities were there for the
number of 3s we use for a particular factor?
Again 3 possibilities ?
Quickfire Questions
How many factors does each of the following have?
factors ? factors ?
factors ? factors ?
factors ?
factors ?
factors ?
factors ?
factors ?
Test Your Understanding
1 How many factors does have?
factors ?
2 By first finding the prime factorisation, find the
number of factors of 120.
?
factors
3 Is 42 a factor of ?
No, as , but does not have a 3. ?
4 How many factors does have?
?
factors.
Exercise 3
Which of the following are factors of Without listing out the factors, work out
1 4 how many factors each of the following
? Answer true of false.
numbers have:
a) True ? a) 15 factors ?
b) False ? b) 6 factors
c) True ? c) 16 factors
?
d) False ? d)
?
11 factors
e) False
? e) 121 factors
?
List all of the twelve factors of , leaving your ?
2 Work out how many factors each of the
factors in prime factorised form. 5
following numbers have:
f) factors
Answer true or false. g) factors
?
f) is a factor of ?True h) factors
?
g) is a multiple of False i) factors
?
h) 35 is a factor of False ?
i) 24 is a factor of [JMC 2000 Q23] A certain number has
3 6
True, as ; enough 2s and 3s? are exactly eight factors including 1 and itself.
Two of its factors are 21 and 35. What is
available within . ?
? the number?
Note that and .
So the number must be some multiple of . But
? ?
this does have 8 factors, as .
Exercise 3
N [JMO 1997 B2] Every prime number has two
factors. How many integers between 1 and
200 have exactly four factors?
Solution: 59. To have four factors the
number has to be of the? form , or , where
and are prime numbers.
Year 7 HCF/LCM
Starter
List out the factors of 8 and 12.
What factors do they have in common?
Factors of 8: 1, 2, 4, 8?
Factors of 12: 1, 2, 3, 4,
? 6, 12
Factors in common: 1, 2, 4 ?
Factors of 8: 1, 2, 4, 8
Factors of 12: 1, 2, 3, 4, 6, 12
?
2
𝐿𝐶𝑀 ( 12,21 )=𝟖𝟒
?
I have to take two different pills on a regular basis to combat Frostitus. Pill
3 A I take every 6 days. Pill B I take every 8 days. If I take both pills on January
1st, when is the next date I take both pills?
The number of days that have passed have to be a multiple of 6 and of 8.
?
January 25 th
But what about bigger numbers?
792, 378
Sometimes it’s not practical to use this method.
Can we use the prime factorisation somehow?
3 ?
2
792=2 ×3 ×11 ?
But what about bigger numbers?
3 2
792=2 ×3 ×11
The ‘what wins, what loses’ method
3 2
792=2 ×3 ×11 Step 1: Align numbers so that each
prime factor has its own column.
? 3 ? 3 ?
𝐿𝐶𝑀=2? ×3 ×7×11
This time, what do both and go into?
5 2 2 2
2016=2 ×3 ×7 588=2 ×3×7
Line numbers up:
𝟒 ? 𝟐
1936=𝟐 ?×𝟏𝟏
𝟒 𝟐 ?𝟐
𝐿𝐶𝑀=𝟐 ×𝟑 ? ×𝟏𝟏 =𝟏𝟕𝟒𝟐𝟒
If you finish…
?
𝟐 𝟐
3675=𝟑 ×𝟓 ×𝟕 ?
𝟑 𝟐 ?
𝐿𝐶𝑀=𝟑×𝟓 ×𝟕 =𝟏𝟖𝟑𝟕𝟓 ?
Exercise 4 Calculator permitted!
a) 36 and 378 ?
LCM = 756, HCF = 18 finds the number of integers between 1 and that share no
b) 315 and 3675 ?
LCM = 11025, HCF = 105 N factors with other than 1 (i.e. the HCF is 1).
c) 72 and 66
?
LCM = 792, HCF = 6 For example because for two numbers up to 6,
d) 2880 and 792
?
LCM = 31680, HCF = 72 1 and 5, HCF(6,1) = 1 and HCF(6, 5) = 1.
?
e) 375 and 325
?
LCM = 4875, HCF = 25 a) What is ? 4
f) 252 and 2079 ?
LCM = 8316, HCF = 63 b) What is ? 6
c) What in general is for a prime number ?
?
4 Year 7 has 48 pupils in it. Year 8 has 90 pupils in it.
Each year group has to be divided into football teams, d)
?
Given that (provided that ), find
so that all teams (across both Year 7 and 8) are the
same size, and no people are left over. What’s the
largest team size? ?
Bro Note: ’s posh name is ‘Euler’s Totient Function’.
HCF(48,90) = 6
?
Year 7 Divisibility
Divisibility Rules
How can we tell if a number is divisible by: !
4 6 7 9 11
726 ? ? ? ? ?
168 ? ? ? ? ?
9196 ? ? ? ? ?
252 ? ? ? ? ?
1001 ? ? ? ? ?
91 ? ? ? ? ?
216 ? ? ? ? ?
87912 ? ? ? ? ?
Quickfire Mental Primes
Apart from the obvious instant checks (divisibility by 2, 5), we
usually only have to mentally check 3, 7 and 11 to have a good
‘guess’ that a number is prime.
3 7 11 Is it prime?
91 ? No ?
101 ? Yes ?
234567 ? No ?
131 ? Yes ?
781 ? No ? Advanced: 13 trick is
“Quadruple last digit
751 ? Yes ? and add to remaining
number. Is result
221 ? No! () ? divisible by 13?
N For 221, what is the largest prime we would have had to test divisibility until we’d be certain it was prime?
?
Up to because all composite numbers have a factor (other than 1) up to the square root.
Test Your Understanding
Easier One:
[JMO 1997 A5] Precisely, one of the numbers 234, 2345, 23456, 234567, 2345678,
23456789 is a prime number. Which one must it be?
Solution: 23456789?
Harder One:
[JMC 2012 Q23] Peter wrote a list of all the numbers that could be produced by
changing one digit of the number 200. How many of the numbers on Peter’s list are
prime?
A 0 B 1 C 2 D 3 E 4
Solution: A ?
Breaking Down Divisibility Rules
Are these statements true or false?
18 2 and 9 rules ?
45 5 and 9 ?
36 4 and 9 ?
40 5 and 8 ?
An easy Year 10 Maths Olympiad problem:
Find the smallest positive integer
which consists only of 0s and 1s,
and which is divisible by 12.
• Since in must be divisible by 4, the only
possibility for the last two digits is 00.
• It must have at least?three 1s to be divisible
by 3 (as we can’t have zero 0s).
• Therefore 11100 is the answer.
Exercise 5
Problem sheet of Junior and Intermediate Olympiad problems.
Work in pairs/groups if you wish.
(See printout)
Question 1
[J31] Every digit of a given positive integer is either a 3 or a 4 with each occurring at least
once. The integer is divisible by both 3 and 4. What is the smallest such integer?
?
Question 2
[J50] The eight-digit number “ppppqqqq”, where p and q are digits, is a multiple of 45.
What are the possible values of p?
?
Question 3
[M07] (a) A positive integer N is written using only the digits 2 and 3, with each appearing
at least once. If N is divisible by 2 and by 3, what is the smallest possible integer N?
(b) A positive integer M is written using only the digits 8 and 9, with each appearing at
least once. If M is divisible by 8 and by 9, what is the smallest possible integer M?
?
Question 4
[M55] A palindromic number is one which reads the same when its digits are reversed, for
example 23832. What is the largest six-digit palindromic number which is exactly divisible
by 15?
?
Question 5
[J16] Find a rule which predicts exactly when five consecutive integers have sum divisible
by 15.
?
Question 6
[M96] Find the possible values of the digits p and q, given that the five-digit number
‘p543q’ is a multiple of 36.
?
Question 7
[M127] The five-digit number ‘’, where and are digits, is divisible by 36. Find all possible
such five-digit numbers.
?
Question 8
[M31] Find the smallest positive multiple of 35 whose digits are all the same as each
other.
?
Question 9
[Based on NRich] If the digits 5, 6, 7 and 8 are inserted at random in 3_1_4_0_92 (one in
each space), what is the probability that the number created will be a multiple of 396 if:
a) Each of 5, 6, 7, 8 is used exactly once in each of the four gaps.
b) Each of 5, 6, 7, 8 can be used multiple times.
?
This is the product of 4 consecutive numbers.
At least one of the four is divisible by 3.
Exactly two of the numbers will be divisible by 2.
However, one of the four numbers will be divisible by 4, giving an
extra factor of 2. Overall, this means the product is divisible by
.
Fini
(any slides after this are supplementary)
Year 7 Divisibility Within
Equations
STARTER :: Divisibility of Expressions
Given that is an integer, for each expression, identify whether the
statement is always true, always false, or sometimes true.
Always true Always false Sometimes true
is divisible by 5.
(5 times a number is clearly
in the 5 times table)
?
is divisible by 4.
?
(This will always be one more
than a multiple of 4)
is divisible by 4.
?
is divisible by 2.
?
is divisible by 2. ?
N is divisible by 2.
(one of and is even, and
) ?
N is a square
(The product of two
squares is a square)
?
Factors within equations
What can you tell about the following numbers in these
equations?
?
?
5 𝑥 + 𝟒 𝒚 =150
? by 5, must be.
Since and 150 are divisible
One strategy would be to try different values of and see if it works for . e.g. If :
No. The left-hand-side of the equation is odd but the right-hand-side of the
equation is even. ?
Test Your Understanding
Easier One:
[JMC 2010 Q12] Sir Lance has a lot of tables and chairs in his house. Each rectangular table
seats eight people and each round table seats five people. What is the smallest number of
tables he will need to use to seat 35 guests and himself, without any of the seating around
these tables remaining unoccupied?
(Hint: if is the number of rectangular tables, and is number of circular tables, form an equation first that looks like
what we’ve previously seen)
A 4 B 5 C 6 D 7 E 8
Harder One:
[JMC 2012 Q25] The interior angles of a triangle are ,
and , where are positive integers. What is the value
of ?
D 170 E 401
c) ? Divisible by 4 ?
Solution: D
c) ? Divisible by 18
?
?
Year 7 Square and cube numbers
Square/Cube Numbers
Find the prime factorisation of the following square numbers. What do you notice?
?
?
?
! Square numbers have even powers in their prime factorisation.
Find the prime factorisation of the following cube numbers. What do you notice?
?
?
?
!Cube numbers have powers which are multiples of 3.
Square/Cube Numbers
Q What is the smallest multiple of 504 that is square?
(Note that )
The power of 3 on the 2 and the power of 1 on the 7 are both odd.
?
So we need to multiply by 2 and 7, i.e. 14, to give 7056.
All even powers of 2 (). But don’t forget that () is square! (as the 0 is even). That’s
6 square factors. ?
Numbers of factors of square numbers
List the factors of the (non-square) number 20.
How many factors are there?
?
1, 2, 4, 5, 10, 20 (6 factors)
1, 7, 49 (3 factors) ?
The number of factors of a square number will always be odd. Can you
explain why this is?
Normally factors come in pairs. e.g. For 20, we have
However, in , the 7 in only counts once,
? so we’ll have an odd number of
factors.
! Square numbers (and only square numbers) have an odd number of factors.
Exercise 7 (on provided sheet)
1 Use the following prime factorisations (if [Junior Kangaroo 2015 Q23] How many three-
6
provided) to find the smallest number we need digit numbers have an odd number of factors?
to multiply the number by to make it (a) a A 5 B 10 C 20 D 21 E 22
square (b) a cube.
(i) (a) 6 (b) 180 ? ?
E (22 squares between 100 and 961)
(ii) (a) 6 (b) 9 ? N1 [Cayley 2013 Q1] What is the smallest non-zero
(ii) 16200
?
(a) 2 (b) 45 multiple of 2, 4, 7 and 8 which is a square?
?
Solution: 8
How many numbers between 1 and 16 have an
5
odd number of factors?
?
Solution: 4 (the four squares: 1, 4, 9, 16)
Supplementary Slides on Divisibility
“ is divisible by 15”.
Try different values of to see for what values
this is true.
For example, if , then is 20, but 20 is not
divisible by 15.
3 𝑥 Therefore is divisible by 2.
2
Factors
Click for
Bromanimation
Thinking in buckets
“ is divisible by 3”
The 3 may have come from the
6 bucket (6 is divisible by 3).
“ is divisible by 3”
This one’s more complicated.
The 3 has to go in one of the
buckets. But the two buckets
represent the same number
3 (), so we know both buckets
must have a 3.
𝑥 𝑥 We know therefore:
• is divisible by 3.
• is divisible by 9.
3
Factors
Click for
Bromanimation
Card Sort
Match the statements with the strongest statement they MUST result in.
(By strongest, I mean for example that “is divisible by 8” is stronger than “is divisible by 2” as it is more restrictive)
Some cards may not be used and some orange cards may match multiple green.
is divisible by 5. is divisible by 2.
is divisible by 5. is divisible by 3.
is divisible by 10.
is divisible by 4.
is divisible by 15.
is divisible by 5.
is divisible by 5
is divisible by 6.
We don’t know
is divisible by 24
anything about
Further Divisibility of Expressions
𝑥 𝑥
2 2
4 𝑥+
2
2 If we add a multiple
of 4 and a multiple
of 2, it will give a
multiple of 2 but
not of 4.
Factors
Answer: 8 ?
More Examples
If is divisible by 3, what can we say about the divisibility of…
a
and are in the 3 times table, but will be two more than a
multiple of 3. ?
So the expression is divisible by .
Test Your Understanding:
b
We get a factor of 3 three times from . is not divisible by 3, but
is even, giving us a factor of 2.?
So the expression is divisible by .
Supplementary Questions (for teacher use)
[JMO Mentoring Jun2011 Q2] How
1 What are the factors of that are both square and 6
many positive divisors does 6! have
cube? Leave your answer in factorised index form. including 6! and 1? [.] Solution: 30
Solution: 1,
? ?
[JMO 1996 B1] How many positive
How many positive factors does have? Solution: 325 whole numbers up to and including 400
2 7
?
A certain number has exactly eight factors including 1
can be written in exactly one way as the
product of two even numbers?
and itself. Two of its factors are 33 and 15. What is Solution: 25 (each product must be of
3 the number? Solution: 165 the form where is prime)
?
[SMC 2003 Q15] The number of this year, 2003, is
?
4 prime. How many square numbers are factors of ?
Solution: 1002
?
BONUS LESSON! Use #3: Trailing zeroes
Can you think of a rule that tells us the number of trailing zeroes from the prime
factorisation? Why do you think it works?
It is the lowest power of the 2 and 5. This is because each 2-5 pair forms a factor