Modifies f(n) so that it computes explicit formula rather than using memoized recursion.