Write all the integers between and , which are divisible by or .
Integers · Question 38 of 87
Write all the integers between -5 and 5 , which are divisible by 2 or 3 .
Solution:
Concept: The phrase 'divisible by 2 or 3' means divisible by 2, or by 3, or by both. 0 is divisible by every non-zero integer.
Step 1 — List the integers between −5 and 5.
The phrase 'between' leaves out −5 and 5, so the integers are −4, −3, −2, −1, 0, 1, 2, 3 and 4.
Step 2 — Pick those divisible by 2.
The even ones are −4, −2, 0, 2 and 4.
Step 3 — Pick those divisible by 3.
The multiples of 3 are −3, 0 and 3.
Step 4 — Combine the two lists.
The phrase 'divisible by 2 or 3' means divisible by at least one of them, so we join the lists and write 0 only once. Only −1 and 1 are left out.
Watch out: The word 'or' keeps a number that passes either test; 'and' would keep only the numbers that pass both.
Therefore, the integers are −4, −3, −2, 0, 2, 3 and 4.
