I gave this problem my best attempt and am now trying to understand the solution for it. This is problem #1 to the 79th William Lowell Putnam Math Competition. This is the given solution by Kiran Kedlaya and Lenny Ng:
By clearing denominators and regrouping, we see that the given equation is equivalent to $(3a−2018)(3b−2018) = 2018^2$. Each of the factors is congruent to $1 \text{ (mod } 3)$. There are $6$ positive factors of $2018^2 = 2^2 · 1009^2$ that are congruent to $1\text{ (mod } 3)$: $1$, $2^2$ , $1009$, $2^2 · 1009$, $1009^2$, $2^2 · 1009^2$. These lead to the 6 possible pairs: $(a,b)$ $= (673,1358114)$, $(674,340033)$, $(1009,2018)$, $(2018,1009)$, $(340033,674)$, and $(1358114,673)$. As for negative factors, the ones that are congruent to $1\text{ (mod }3)$ are $−2$, $−2 · 1009$,$−2 · 1009^2$. However, all of these lead to pairs where $a ≤ 0$ or $b ≤ 0$.
I don't fully understand these things:
- Each of the factors is congruent to $1\text{ (mod }3)$: I think congruence means the ability to translate into something else using some rules, so it seems like they are saying that $(3a-2018) = 1$ and $(3b-2018) = 1$. I'm also not sure why they wrote $1\text{ (mod }3)$ because
1 % 3 = 1, so why not just say $1$? - There are $6$ positive factors of $2018^2 = 2^2·1009^2$ that are congruent to $1\text{ (mod }3)$: $1$, $2^2$, $1009$, $2^2·1009$, $1009^2$, $2^2·1009^2$: Here it seems like they are listing all of the ways to make $2018^2$, but if they are saying that $1$ is a possible factor then wouldn't $2018^2$ be its pair and therefore must be in this list? Why wouldn't they put it into this list?
- These lead to the 6 possible pairs:$(a,b) = (673,1358114)$, $(674,340033)$, $(1009,2018)$,$(2018,1009)$, $(340033,674)$, and $(1358114,673)$: How did they get these pairs?
We need to solve $$3ab=2018(a+b)$$ or $$9ab-3\cdot2018(a+b)+2018^2=2018^2$$ or $$(3a-2018)(3b-2018)=2018^2$$ or $$(3a-2018)(3b-2018)=2^21009^2.$$ Now, let $a\leq b$.
We obtain: $$3a-2018=1,$$ which gives $a=673$ and $b=1358114$ or $$3a-2018=2,$$ which is impossible because $2+2018$ is not divisible by $3$ or $$3a-2018=4,$$ which gives $a=674$ and $b=340033$ or $$3a-2018=1009,$$ which gives $a=1009$ and $b=2018$ or $$3a-2018=2\cdot1009,$$ which is impossible because $2\cdot1009+2018$ is not divisible by $3$.
Can you end it now?