Problem 5
Let be a polynomial of degree with integer coefficients, and let be a positive integer. Define , where occurs times. Prove that there are at most integers such that .
Step 4 of 8: A closed integer orbit alternates between two values
Detailed analysis
Choose a minimum value in the orbit. Since all successive differences have the same nonzero magnitude and the orbit returns to its start, the signs must reverse at that minimum. The orbit therefore alternates between two integers , with and ; in particular every fixed point of satisfies .