[UVA][Java] 10669 - Three powers
Problem B: Three powers
Consider the set of all non-negative integer powers of 3.
S = { 1, 3, 9, 27, 81, ... }
Consider the sequence of all subsets of S ordered by the
value of the sum of their elements. The question is simple: find the set
at the n-th pos...