I know that $$\frac{(ak \pm 1)^n}{a}$$ gives remainder $a - 1$ is n is odd or $1$ is n is even.
So, I wrote $ 2^{105} + 3^{105}$ as $8^{35} + 27^{35}$ and then as $(7\cdot 1+1)^{35} + (7\cdot 4-1)^{35}$, which on division should give remainder of $6$ for each term and total remainder of 5 (12/7).
But, as per question, it should be divisible by 7, so remainder should be zero not 5. Where did I go wrong?
[note: i don't know binomial theorem or number theory.]
1, 2, 4, 1, 2, 4,...
while powers of 3 under modulo 7 cycle1, 3, 2, 6, 4, 5, 1, 3, ...
. With this, you can find what the 105th power of each under modulo 7 will be equal to. – 1110101001 Apr 12 '15 at 07:53