In the GRE quantitative reasoning exam, I came across the following question: when the positive integer $n$ is divided by $45$, the remainder is $18$. Which of the following must be a divisor of $n$?
a) $11$
b) $9$ ( the correct choice)
c) $7$
d) $6$
e) $4$
The following solution was given:
The given information tells that $n$ can be expressed in the form $$n = 45k + 18 \, ,$$where $k$ is non-negative integer. Consider how the divisors of $45$ and $18$ may be related to the divisors of n. Every common divisor of $45$ and $18$ is also a divisor of any sum of multiples of $45$ and $18$, like $45k+18$. So any common divisor of $45$ and $18$ is also a divisor of n. Of the given answer choices, only $9$ is a common divisor of $45$ and $18$. Thus the correct answer is choice b).
I don't understand the emphasized part in the explanation and the whole reasoning in general. Can someone clarify it please?
Duplication disclaimer: this post requests for a different explanation than is provided in the similar post.
Take $n=45k+18$ . Put the factor $9$ in evidence in the right side.
$ n = 9 \cdot (5k + 2)$.
Note that $5k + 2$ is an integer, then, substituting this quantity by $m$, we have
$n = 9 \cdot m$
where $m$ is an integer. therefore, $n$ is an multiple of $9$.