3 tickets are selected from the tickets numbered from 1 to 100 inclusive.
Find the number of such triplets of integers that can form an arithmetic progression .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let's consider the number of AP's which have the number b as the middle number in the A P .
If b ≤ 5 0 , then we could have
Thus, there are b − 1 of them for each b .
In total, there are 1 + 2 + 3 + … + 5 0 = 1 2 2 5
Similarly, if b ≥ 5 1 , then we could have
Thus, there are 1 0 0 − b of them for each b .
In total, there are 1 + 2 + 3 + … + 5 0 = 1 2 2 5 .
Hence, there are 1 2 2 5 + 1 2 2 5 = 2 4 5 0 .