Saturday, July 16, 2011

Summer Problem Solving Marathon Solution #33

For any choice of n, we can write 2n in the form nk + m, for some k and some m < n. (That is, we write 2n as some multiple of n, plus a remainder on division by n.)

We then rewrite 2(2n) as 2nk + m = 2nk2m.

We are now interested in the remainder of this when divided by 2n - 1. Since m < n, the remainder of 2m when divided by 2n -1 is 2m. 2nk can be rewritten as (2n)k. But the remainder of 2n when divided by 2n -1 is clearly 1, so the remainder of (2n)k when divided by 2n -1 is 1k = 1.

Thus the remainder of 2(2n) when divided by 2n -1 is 2m. We want the remainder not to be a power of 4, which means we want m to be odd.

We are thus looking for n such that 2n, when divided by n, produces an odd remainder. Examination of cases then shows that 25 is the first value of n that works.

No comments:

Post a Comment