Skip to main content
Logo image
Paper size

Worksheet Preview Activity

In a given month, some days are more similar than others. For example, the 3rd of the month is more like the 24th than it is like the 15th. What does this possibly mean? We will explore two ways in which this is true.
1.
We will say that two numbers between 1 and 31 are related, written aโˆผb if their difference is a multiple of 7. So for example, 3โˆผ24, since 24โˆ’3=3โ‹…7, but 3โ‰15 since 15โˆ’3=12 which is not a multiple of 7.
2.
When you divide a multiple of 7 by 7, you get a whole number. If you divide another number by 7, you can either write the result as a decimal or as a quotient and a remainder. For example, 19รท7 is 2 with a remainder of 5, since we can write 19=2โ‹…7+5. The remainder is also called the modulus. When programming in python (and many other languages), the modulus operator is written as %. For example, 19 % 7 is 5. Try this out for a few numbers.
(a)
Find all the numbers a between 1 and 31 that are 5mod7. That is, find all a such that a % 7 = 5.
(b)
Since the modulus is a function, each number has exactly one modulus when divided by 7. This means that the moduli partition the numbers from 1 to 31: every number belongs to exactly one of the sets of numbers with a particular modulus. We have already found the set for modulus 5. Find the other sets.
(c)
We can use the moduli to define a relation on the numbers from 1 to 31. We will say that aโˆผb if a % 7 = b % 7. In other words, two numbers are related if they belong to the same set of the partition we found above.
Which of the following are true? That is, which of the following pairs of numbers are related by this modulus relation?