clar wrote:yes you are right about the answer choices.. one of them should be 1 and 3..
coming to your explanation, i couldnt understand how 2^18 when divided by 3 leaves a remainder 8
moreover how did you conclude from the above steps that n = 1, 4 , 7 and so on.
thanks!
oops that was a typo..wrote 8 instead of 3..
anyways explanation for the remainder
2^1=2 when divided by 3 leaves remainder-2
2^2=4 when divided by 3 leaves remainder-1
.
.
all odd powers of 2 leave remainder 2
all odd powers leave remainder 1 when divided by 3
so 2^18 leaves remainder 1
for your second question
"moreover how did you conclude from the above steps that n = 1, 4 , 7 and so on. "
take a number 15. 15-3,15-(3+3),15-(3+3+3) all will be divisible by 3
take a number 17, (17-2),17-(2+3),17-(2+3+3) all will be divisible by 3
so 2^18-1, 2^18-(1+3),2^18-(1+3+3)...all will be divisible by 3
The powers of two are bloody impolite!!