Suppose that the set {1,2,⋯,1998} has been partitioned into disjoint pairs {ai,bi} (1≤i≤999) so that for all i, ∣ai−bi∣ equals 1 or 6. Prove that the sum ∣a1−b1∣+∣a2−b2∣+⋯+∣a999−b999∣ ends in the digit 9. modular arithmeticnumber theory proposednumber theory