[math-fun] Zipf, codes & cumulative probability