Identify patterns in prime and composite numbers in relation to the quantity of factors and to develop and implement coding skills.
- Modular Arithmetic
- For / Endfor
- If / Then
About the Lesson
In this activity students write a program to automatically count the quantity of factors for a selected number, this program can be used in conjunction with the Factors that Count activity on the Australian Curriculum Nspired website. Students use mathematical logic to build the program and then validate it by testing it over a selection of numbers. Students then look for patterns in the quantity of factors to tell a story about the original number, such as ‘what does it tell you about the original number if it has an odd number of factors?’