Problem 1
Find the smallest positive integer n such that no arithmetic progression of 1999 real terms contains exactly n integers.
Step 3 of 5: Translate omission into a floor inequality
Detailed analysis
For a fixed n, choose k=floor(1999/(n+1)); this is the largest k for which the lower endpoint kn-k+1 is at most 1999. The next possible interval then starts beyond 1999 exactly when the upper endpoint (k+1)n-(k+1)+1 is at least 2000, equivalently k(n-1)+n is at least 2000.