@FEhrsam@0xSton Or better: 3 weights can resolve a set of 27 spheres: Split into 9/9/9 compare 2 of them, take the heaviest set or the 3rd one if equal => Each weight = reduction of 1/3. So you can generalize by the formula: among a set of power(3,n) spheres, you only need n weights.