$a = 113n + 10$
$b = 89n - 10$
$n$ is a natural number
Question: Prove that if $d$ is a divisor of $a$ and $b$ then $d$ is a divisor of $2020$
The book's solution:
$d / a$
$d / b$
then $d / a + b$ so $d / 202n$
$d / 10(202n)$
$d / 2020n$
so $d / 2020$
But here is my problem with this solution.
$d / 2020n$ shouldn't mean $d / 2020$ because we don't know if $n$ is co-prime with $d$ or not.
If $n$ was co-prime then yes $d / 2020$ but we don't know that so I think the solution is wrong.
What do you think? Is the book correct and am I wrong?