Let be a positive integer such that
Let be the number of digits in the binary expansion of . Then the minimum and the maximum possible values of are
From KVPY 2013 · Streams SB/SX
Let be a positive integer such that
Let be the number of digits in the binary expansion of . Then the minimum and the maximum possible values of are
Worked solution
Unwrap the right-hand inequality.
Unwrap the left-hand one. Writing , the condition means , so
So .
Count binary digits. .
Minimum , maximum .
(A)
Every past question tagged to the same part of the syllabus, with solutions.
Timed, in the real format, and marked the moment you submit.