Project Euler #169: Exploring the number of different ways a number can be expressed as a sum of powers of 2.

  • + 6 comments

    How would you do this in a language like C++, where there is no simple way to store an integer value of 10^27? Please advise.