[math-fun] A use for Jud's method