find the unique, non-repeating, powers of 2 that sum to a given non-zero integer, n
example:
n = 23
result = [1 2 4 16]
the result does not need to be in any specific order
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
15 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Good problem!