When 2017 is divided by a 2-digit number, what is the largest possible remainder?
Bonus: Generalize this problem.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Two digit numbers are 10 to 99. We might get the largest possible remainder from 99 down rather than 10 up.
2017 \mod{99} = 37
. When2017
is divided by any of{2,...,38}
, the remainder will be less than38
. So the answer is in{39, ..., 99}
.2017 \mod{98} = 57
. Similarly the answer is in{59, ..., 98}
.2017 \mod{97} = 77
. Now we only need to look in{79, ..., 96}
Similarly,
2017 \mod{96} = 1
.2017 \mod{95} = 22
2017 \mod{94} = 43
2017 \mod{93} = 64
2017 \mod{92} = 85
, Great we only have to look upto 87 now. Because less than87
the remainder is anyway less than or equal to85
2017 \mod{91, 90, 89, 88, 87} = {15, 37, 59, 81, 16}
Note This is not the elegant solution. But it might give some idea how to generalize it. I can't think of better way right now.