Let , and be expressed in base 2. The number of 1's in this base 2 representation of is
KVPY 2020MathematicsSingle correct+1 / -0.25
Mathematics, question 18
From KVPY 2020 · Streams SB/SX
Answer and worked solutionTry it first, then open this to check your working.
Official answerB
Worked solution
Expanding, . In binary:
- is bits 46-59 (14 ones);
- is bit 31 plus bits 16-29 (1 + 14 ones);
- is bit 0.
Total: .
(B)
Practise this topic
Every past question tagged to the same part of the syllabus, with solutions.