EncounterGMAT
What is the remainder when 33^35 + 35^35 is divided by 17?
(A) 0
(B) 4
(C) 8
(D) 13
(E) 21
This is a classic example of binomial expansion -
\((a+b)^n = nC0*a^0*b^n + nC1*a^1*b^{n-1} + .... + nC{n-1}*a^{n-1}*b^1 + nCn*a^n*b^0\)
Given addition can be divided into -
\((34 - 1)^{35} + (34 + 1)^{35}\)
Expanding first binomial -
\( (34 - 1)^{35} = 35C0*{34}^0*{-1}^{35} + 35C1*{34}^1*{-1}^{34} + .... + 35C34*{34}^{34}*{-1}^1 + 35C35*{34}^{35}*{-1}^0\)
Here except the first number which resolves to -1, rest of the numbers are multiples of 34 which means they are divisible by 17.
This summation is 1 less than a number divisible by 17, which means that adding one to this number would be divisible by 17, so the remainder of the existing number would be 17 - 1 = 16
\((34 - 1)^{35} = 17p + 16\) --- (1)
Expanding second binomial -
\( (34 + 1)^{35} = 35C0*{34}^0*{1}^{35} + 35C1*{34}^1*{1}^{34} + .... + 35C34*{34}^{34}*{1}^1 + 35C35*{34}^{35}*{1}^0\)
Here again we see the same case, except the first number which resolves to 1, rest of the numbers are multiples of 34 which means they are divisible by 17.
This summation is 1 more than a number divisible by 17, which means that subtracting one from this number would be divisible by 17, so the remainder of the existing number would be 1
\((34 + 1)^{35} = 17q + 1\) --- (2)
Adding (1) and (2)
\((34 - 1)^{35} + (34 + 1)^{35} = 17p + 16 + 17q + 1\)
\((34 - 1)^{35} + (34 + 1)^{35} = 17*(p + q) + 17\)
From this we can clearly say that this number is divisible by 17 with remainder 0.
Answer: A