topic badge
CanadaON
Grade 7

15.09 Algorithms for divisibility

Interactive practice questions

To test whether a number is divisible by $10$10, we use the following simple algorithm.

"If the number ends in a $0$0, then the number is divisible by $10$10."

a

Examine the following list of three-digit numbers and write down all the numbers that are divisible by $10$10.

Write these numbers on the same line, separated by commas.

$313,882,710,170,479,381,860,465,256,344$313,882,710,170,479,381,860,465,256,344

b

Examine the following list of five-digit numbers and write down all the numbers that are divisible by $10$10.

Write down these numbers on the same line, separated by commas.

$42381,92176,86498,59433,24499,21880,95534,61110,25190,39137$42381,92176,86498,59433,24499,21880,95534,61110,25190,39137

c

Examine the following list of seven-digit numbers and write down all the numbers that are divisible by $10$10.

Write down these numbers on the same line, separated by commas.

$6459620,5638943,2878605,1904790,5037628,6805217$6459620,5638943,2878605,1904790,5037628,6805217

Easy
2min

To test whether a number is divisible by $2$2, we use the following simple algorithm.

"If the number is even (that is, the digit in the ones column is even), then the number is divisible by $2$2."

Easy
2min

To test whether a number is divisible by $5$5, we use the following simple algorithm.

"If the number ends in a $0$0 or a $5$5, then the number is divisible by $5$5."

Easy
1min

To test whether a number is divisible by $3$3, we use the following algorithm.

Step 1: Find the sum of the digits of the number.

Step 2: If the sum is a multiple of $3$3, then the number itself is a multiple of $3$3.

Use the algorithm to determine whether $34257$34257 is divisible by $3$3.

Easy
1min
Sign up to access Practice Questions
Get full access to our content with a Mathspace account

Outcomes

7.C3.1

Solve problems and create computational representations of mathematical situations by writing and executing efficient code, including code that involves events influenced by a defined count and/or sub-program and other control structures.

7.C3.2

Read and alter existing code, including code that involves events influenced by a defined count and/or sub-program and other control structures, and describe how changes to the code affect the outcomes and the efficiency of the code.

What is Mathspace

About Mathspace