Problem:
For positive integers a and b, let R(a,b) denote the remainder when a is divided by b. Suppose N is the least positive integer such that
R(N,2)β₯1,R(N,4)β₯2,R(N,8)β₯4,β¦,R(N,2200)β₯2199.
What are the last three digits of N?
Answer Choices:
A. 125
B. 249
C. 375
D. 511
E. 875
Solution:
Write N in binary. The remainder R(N,2k) is the number formed by the last k binary digits of N, and it is at least 2kβ1 exactly when the binary digit in the 2kβ1 place is 1.
So the conditions for k=1,2,β¦,200 say that the last 200 binary digits of N are all 1, that is,
Nβ‘2200β1(mod2200).
The least positive such N is N=2200β1.
Last three digits. We find 2200mod1000 using 1000=8β
125.
- 2200β‘0(mod8).
- Since Ο(125)=100 and gcd(2,125)=1, Euler's theorem gives 2100β‘1(mod125), so 2200β‘1(mod125).
The number between 0 and 999 that is 0 mod 8 and 1 mod 125 is 376 (since 376=3β
125+1=47β
8). So 2200β‘376(mod1000), and
N=2200β1β‘(C) 375(mod1000).
The problems and solutions on this page are the property of the MAA's American Mathematics Competitions