Problem 4
Find all functions such that for all integers with , .
Step 5 of 5: The period-four family and the complete list
In plain words
The only remaining branch has period 4; together with the quadratic and period-two families it exhausts all possibilities.
Detailed analysis
In the nonperiodic alternative above, if the induction first takes the lower branch then the same substitution forces n=2, hence ; the equation at then gives , so period 4. Evenness and the defining equation give exactly , , . Thus all solutions are ; for even n and c for odd n; or the displayed period-four family, with arbitrary .