Rearranging iterative formulae