GreenlightTestPrep wrote:
GeminiHeat wrote:
If 220=215x+y, where x and y are non-negative integers, what is the minimum possible value of |x−y|?
(A) 0
(B) 1
(C) 25
(D) 210
(E) 215
Take:
220=215x+ySubtract
215x from both sides to get:
220−215x=yFactor:
215(25−x)=yRewrite as:
y=215(32−x)Since x and y are
non-negative integers, we can conclude that
0<x≤32 (i.e, if x > 32, y is negative)
Notice that, if
x=1,
y=215(32−1)=215(31), which is a little bit less than
220In other words, the
maximum value of y is a little bit less than
220Also, if
x=32,
y=215(32−32)=215(0)=0So, the
minimum value of y is
0 AND
x=32 is the maximum value of x
As such, the minimum value
|x−y| is
|32−0|=32=25Answer: C
Cheers,
Brent
If x = 0 then y = 2^20, the value of |x-y| is going to an higher end and cannot be minimum.
The relation between x & y is inverse. Absolute classic explanation Brent.
In our language: it's a consummate explanation!! Thank you.