Find $y - x$ where $x$ is the largest integer with $2^{x} < 10^{6}$ and $y$ is the smallest integer with…

Find $y - x$ where $x$ is the largest integer with $2^{x} < 10^{6}$ and $y$ is the smallest integer with $10^{6} < 2^{y}$.
  1. $0$
  2. $1$
  3. $2$
  4. $19$

Solution

$2^{19} = 524{,}288 < 10^{6}$ and $2^{20} = 1{,}048{,}576 > 10^{6}$. So $x = 19$, $y = 20$, hence $y - x = 1$.

Asked in: IMO

Practice more EXPONENTS AND POWERS questions on Aicharya