[math-fun] sum of binary digits