Year 5Mathematics 60 minAC9M5N10: create and use algorithms involving a sequence of steps and decisions and digital tools to experiment with factors, multiples and divisibility; identify, interpret and describe emerging patternsAC9M5N02: express natural numbers as products of their factors, recognise multiples and determine if one number is divisible by another
We are learning to
- We are learning to write and use an algorithm with a decision to find all the factors of a number.
- We are learning to use a spreadsheet to test many numbers and look for patterns in factors.
Success criteria: I can…
- I can explain how a remainder of 0 tells me a number is a factor.
- I can follow the factor finder algorithm by hand for a small number.
- I can build the algorithm in a spreadsheet and check it gives the right factors for 12.
- I can describe a pattern in the class results and give an example.
- I can suggest a change that makes the algorithm quicker and explain why it still works.
Key competenciesNumeracyDigital LiteracyCritical and Creative ThinkingPersonal and Social Capability
Lesson sequence
60 min total- 1
Remainder or not?
Starter 0–8 minTeacher- Write: 18 ÷ 3, 18 ÷ 4, 18 ÷ 6, 18 ÷ 7.
- Ask: Which divisions leave no remainder? (18 ÷ 3 = 6 and 18 ÷ 6 = 3; 18 ÷ 4 = 4 remainder 2; 18 ÷ 7 = 2 remainder 4)
- Say: “When the remainder is 0, the divisor is a factor. So 3 and 6 are factors of 18, and 4 and 7 are not.”
- Ask: "How could we be sure we have found every factor of 18?" Take ideas; draw out the idea of testing every number from 1 to 18 in order.
Students- Work out each division and remainder on a mini whiteboard.
- Suggest a way to find every factor without missing any.
Mini whiteboards - 2
Write and trace the algorithm
Main 8–20 minTeacher- Write the factor finder algorithm with the class (see resources), including the decision "Is the remainder 0?" and the stop decision "Is the divisor bigger than the number?"
- Trace it together for 12 in a table with columns Divisor, 12 ÷ divisor, Remainder, Factor?
- Divisors 1 to 12 give remainders 0, 0, 0, 0, 2, 0, 5, 4, 3, 2, 1, 0.
- Ask: Which divisors are factors? (1, 2, 3, 4, 6 and 12: six factors)
- Ask: Which factors multiply together to make 12? (1 × 12, 2 × 6, 3 × 4)
- Say: “Testing 36 numbers by hand would take a long time. A spreadsheet can follow the same steps for us.”
Students- Help write the algorithm steps.
- Trace the algorithm for 12 and list its factors and factor pairs.
Factor finder algorithm (in resources) - 3
Build the factor finder
Main 20–35 minTeacher- Pairs open a new spreadsheet (Excel or Google Sheets) and follow the set-up steps in resources. Model each step on the projector.
- Say: “MOD gives the remainder. MOD(12,5) means 12 divided by 5, and it gives 2.”
- Say: “The $ signs in $B$1 keep the formula pointing at the number in B1 when you fill it down.”
- Ask pairs to test their spreadsheet with 12: it should show "factor" next to 1, 2, 3, 4, 6 and 12, and the count cell should show 6.
- Ask: Why do divisors bigger than 12 never show 'factor'? (the remainder is 12 itself, which is not 0)
- Tip: If a pair's count shows 0, check that column C says exactly factor with no spaces, in both the IF and COUNTIF formulas.
Students- Build the spreadsheet step by step.
- Test it with 12 and fix any errors.
Spreadsheet set-up steps (in resources) Devices with Excel or Google Sheets, one per pair - 4
Test 1 to 36 and find patterns
Main 35–50 minTeacher- Give each pair six numbers to test: pair groups 1 to 6, 7 to 12, 13 to 18, 19 to 24, 25 to 30 and 31 to 36 (repeat groups if there are more than six pairs, so results can be checked).
- Pairs type each number into B1, record its factors and the count, and add them to the class table on the board (Number | Factors | How many factors).
- When the table is complete, ask
- 1."Which numbers have exactly 2 factors? What are their factors?" (2, 3, 5, 7, 11, 13, 17, 19, 23, 29 and 31: only 1 and the number itself)
- 2."Which numbers have an odd number of factors?" (1, 4, 9, 16, 25 and 36)
- 3."What is special about 4, 9, 16, 25 and 36?" (they are square numbers: 2 × 2, 3 × 3, 4 × 4, 5 × 5, 6 × 6)
- 4."Which number up to 36 has the most factors?" (36, with 9 factors)
- Say: “Numbers with exactly two factors are called prime numbers. You will learn more about them in Year 6.”
Students- Test six numbers, record factors and counts, and add them to the class table.
- Describe patterns in the class table with examples.
Class table of factor counts with answers (in resources) - 5
Refine the algorithm and exit ticket
Plenary 50–60 minTeacher- Ask: "Why do square numbers have an odd number of factors?" Model with 16: factor pairs 1 × 16, 2 × 8, 4 × 4. The pair 4 × 4 uses the same number twice, so it adds only one factor (1, 2, 4, 8, 16: five factors).
- Ask: Do we need to test every divisor up to the number? Look at 24: 1 × 24, 2 × 12, 3 × 8, 4 × 6. After 4, the next pair is 6 × 4, which we already have.
- Say: “"A quicker algorithm: test divisors only until divisor × divisor is bigger than the number, and write down each factor's partner as you go." Test it on 24: test 1 to 4 (5 × 5 = 25 is bigger than 24, so stop) and list 1, 24, 2, 12, 3, 8, 4, 6.”
- Exit ticket on a slip, worked alone (see resources).
Students- Explain why square numbers have an odd number of factors.
- Try the refined algorithm on 24.
- Complete the exit ticket.
Exit ticket slips (in resources)
Key vocabulary
factor
a whole number that divides another whole number exactly, with no remainder: 4 is a factor of 12
remainder
what is left over after dividing: 14 ÷ 4 = 3 remainder 2
divisible
can be divided exactly; 12 is divisible by 4 because the remainder is 0
factor pair
two factors that multiply to make the number: 3 and 4 are a factor pair of 12
algorithm
a set of steps, including decisions, that solves a problem
square number
a number made by multiplying a whole number by itself, such as 9 = 3 × 3
Differentiation
Support
- Give pairs numbers from 1 to 12 and a partly built spreadsheet with column A already filled.
- Use arrays of counters to check one factor the spreadsheet finds, such as 3 rows of 4 for 12.
- Provide a card with the three formulas written out exactly.
Extension
- Change the spreadsheet to test numbers up to 100. First move the count out of the way: delete A41 and B41, type Number of factors in D1 and =COUNTIF(C4:C103,"factor") in E1. Then fill column A down to A103 (divisors 1 to 100) and fill the formulas in columns B and C down to row 103. Find a number under 100 with 12 factors. (60, 72, 84, 90 or 96)
- Use MOD to test multiples: in D4 type =MOD(A4,3) and fill it down to D39, next to the divisors 1 to 36 in column A. Describe the pattern of remainders. (1, 2, 0 repeating: every third number is a multiple of 3)
- Ask: "Is it true that every number with exactly 3 factors is a square number? Test 4, 9, 25 and 49." (yes for these: 4 = 2 × 2, 9 = 3 × 3, 25 = 5 × 5, 49 = 7 × 7, each with factors 1, the square root and itself)
Accessibility
- Enlarge the spreadsheet zoom to 150% and colour the "factor" cells with conditional formatting so they stand out.
- Students who cannot use a device can run the algorithm with a calculator and a printed recording table.
- For EAL/D learners, put a labelled example beside each new word, such as factor: 4 is a factor of 12 because 12 ÷ 4 = 3.
Assessment
- Spreadsheet check: the spreadsheet shows 6 factors for 12 and correct results for the pair's six numbers (see the class table in resources).
- Pattern talk: students name the numbers with exactly 2 factors and the square numbers with an odd number of factors, with examples.
- Exit ticket: 20 has factors 1, 2, 4, 5, 10 and 20; 49 has an odd number of factors because it is a square number (7 × 7).
Resources
- Factor finder algorithm: 1. Choose a number to test. 2. Start with a divisor of 1. 3. Is the divisor bigger than the number? If yes, stop and count the factors you wrote. If no, go to step 4. 4. Divide the number by the divisor. Is the remainder 0? If yes, write the divisor as a factor. If no, do not write it. 5. Add 1 to the divisor and go back to step 3.
- Spreadsheet set-up steps (Excel or Google Sheets): 1. In A1 type: Number to test. In B1 type 12. 2. In A3 type Divisor, in B3 type Remainder, in C3 type Factor? 3. In A4 type 1 and in A5 type 2. Select A4 and A5 and drag the fill handle down to A39, so column A shows 1 to 36. 4. In B4 type =MOD($B$1,A4) and fill it down to B39. 5. In C4 type =IF(B4=0,"factor","") and fill it down to C39. 6. In A41 type Number of factors and in B41 type =COUNTIF(C4:C39,"factor"). 7. Test: with 12 in B1, the word factor appears next to 1, 2, 3, 4, 6 and 12, and B41 shows 6. The sheet works for any number from 1 to 36.
- Class table of factor counts (number: factors; count): 1: 1; 1. 2: 1, 2; 2. 3: 1, 3; 2. 4: 1, 2, 4; 3. 5: 1, 5; 2. 6: 1, 2, 3, 6; 4. 7: 1, 7; 2. 8: 1, 2, 4, 8; 4. 9: 1, 3, 9; 3. 10: 1, 2, 5, 10; 4. 11: 1, 11; 2. 12: 1, 2, 3, 4, 6, 12; 6. 13: 1, 13; 2. 14: 1, 2, 7, 14; 4. 15: 1, 3, 5, 15; 4. 16: 1, 2, 4, 8, 16; 5. 17: 1, 17; 2. 18: 1, 2, 3, 6, 9, 18; 6. 19: 1, 19; 2. 20: 1, 2, 4, 5, 10, 20; 6. 21: 1, 3, 7, 21; 4. 22: 1, 2, 11, 22; 4. 23: 1, 23; 2. 24: 1, 2, 3, 4, 6, 8, 12, 24; 8. 25: 1, 5, 25; 3. 26: 1, 2, 13, 26; 4. 27: 1, 3, 9, 27; 4. 28: 1, 2, 4, 7, 14, 28; 6. 29: 1, 29; 2. 30: 1, 2, 3, 5, 6, 10, 15, 30; 8. 31: 1, 31; 2. 32: 1, 2, 4, 8, 16, 32; 6. 33: 1, 3, 11, 33; 4. 34: 1, 2, 17, 34; 4. 35: 1, 5, 7, 35; 4. 36: 1, 2, 3, 4, 6, 9, 12, 18, 36; 9.
- Exit ticket: 1. A spreadsheet tested 20 with divisors 1 to 10 and showed these remainders in order: 0, 0, 2, 0, 0, 2, 6, 4, 2, 0. Which of these divisors are factors of 20? Which factor of 20 is missing from this list, and why? (1, 2, 4, 5 and 10 have remainder 0, so they are factors. 20 itself is missing because the test stopped at 10.) 2. Without testing every divisor, will 49 have an odd or an even number of factors? Explain. (Odd. 49 = 7 × 7 is a square number, so the pair 7 × 7 gives only one factor: 1, 7 and 49 are its three factors.)
- Devices with a spreadsheet program, mini whiteboards, calculators as a backup, counters for arrays