Problem 5
Find the minimum positive integer for which there exists a function such that whenever .
Step 2 of 5: Bound the number of forbidden colors
Detailed analysis
For a positive , the previously colored neighbors can only be when they lie in the earlier part of the order; for a negative the symmetric statement holds. Thus at most three previously colored neighbors exist, and at most three colors are forbidden.