Prove that $\frac{21n-3}{4}$ and $\frac{15n+2}{4}$ cannot both be integers for the same positive integer $n$.
How to solving this problem?
Prove that $\frac{21n-3}{4}$ and $\frac{15n+2}{4}$ cannot both be integers for the same positive integer $n$.
How to solving this problem?
On
Hint $\ $ If $\,4\,$ divides $\,21n-3\,$ and $\,15n+2\,$ then it divides their sum $\,36n-1,\,$ contradiction.
Remark $\ $ In parity language: $ $ integers divisible by $\,4\,$ are even so their sum is even. However, their sum $\,=\, 36n-1\,$ is $ $ odd, $ $ a contradicton. Or, equivalently, their difference $\,= 6n-5\,$ is odd (see robjohn's answer for a fractional version of this).
In mod 4, $$21n-3=n+1$$ and $$15n+2=3n+2$$ If $n+1=0$ then we would have $n=-1$ and hence $$3n+2=-1$$ so the second quantity could not be divisible by 4. Conversely, $3n+2=0$ would imply $n=2$ so that $$n+1=3$$ would not be divisible by 4. Thus they cannot both be integers.