Number of ways of choosing 2 distinct natural numbers $\leq 100$, such that they differ by at most $10$
My Way
Let the numbers be $x$ and $y$
X Y
<------a------><---------b--------><---------c------->
$a+b+c=100-2$; $a,c \geq 0$; $0 \leq b \leq 9$
Please Help.