🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2015 Math Kangaroo

Problem 22

Problem 22 · 2015 Math Kangaroo Stretch
Number Theory careful-countingnumber-systems

How many two-digit numbers can be written as sum of exactly six different powers of two? (Powers of two are \(2^0\), \(2^1\), \(2^2\), …)

Show answer
Answer: C — 2
Show hints
Hint 1 of 2
A sum of six different powers of two is a number with exactly six 1's in binary.
Still stuck? Show hint 2 →
Hint 2 of 2
Find two-digit numbers (10–99) whose binary form has exactly six ones.
Show solution
Approach: count two-digit numbers with six binary 1's
  1. Six different powers of two means six 1-bits in binary.
  2. Smallest such: 1 + 2 + 4 + 8 + 16 + 32 = 63 (= 111111 in binary).
  3. Swapping the 32 for 64 gives 1 + 2 + 4 + 8 + 16 + 64 = 95; any other choice exceeds 99.
  4. So there are 2 such numbers (63 and 95).
Mark: · log in to save