More clean up.
Generalize to arithmetic progression of integers.