Fix a bit of mathematical definition of the procedure (g n).