Tag Archives: sums

Challenge #12: sums of powers of two

A few interesting problems for you to think about: Given a positive integer n, in how many ways can n be written as a sum of powers of two, when each power is allowed to occur at most once? For … Continue reading

Posted in challenges, counting, pattern | Tagged , , , | 18 Comments