Problem 4
Find all functions such that for all integers with , .
Step 4 of 5: The nonperiodic branch is quadratic
In plain words
If the period-two alternative is absent, the equation propagates the quadratic pattern from 1 to every positive integer.
Detailed analysis
Assume and write . If , this is the zero member of the quadratic family. For , induction in the original equation with gives the two alternatives or . The latter, substituted with , is impossible for n>2; the remaining initial case gives . Hence for all n, and direct substitution verifies this family.