Question:
In how many ways can we choose 2 distinct integers from 1 to 100 such that the difference between them is at most 10?
Approach: I tried to fix a certain number, and then find the number of integers that would satisfy the condition However, this is a very long method. Any help?