Find all functions $ f : \mathbb Z \to \mathbb Z $ that satisfy the following conditions:
(i) $ f ( 0 ) = 1 $;
(ii) $ f \big( f ( x ) \big) = x $ for all integers $ x $;
(iii) $ f \big( f ( x + 1 ) + 1 \big) = x $ for all integers $ x $.
How can I prove it by induction?
By (ii), $$f(f(0))=f(1)=0$$ By (iii) $$f(f(-1+1)+1)=f(f(0)+1)=f(2)=-1$$ So $$f(f(2))=f(-1)=2$$ So $$f(f(-2+1)+1)=f(f(-1)+1)=f(3)=-2$$ So $$f(f(3))=f(-2)=3$$ So $$f(f(-3+1)+1))=f(4)=-3$$ So...