Sum of distinct powers of 2 · Technique | Problems