Coding and Algorithms

Ontario 09 Academic (MPM1D)

Algorithms for Divisibility

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

Approx 2 minutes

Sign up to try all questions