TITLE: Number of ways of selecting 4 numbers.
QUESTION [7 upvotes]: Number of ways of selecting 4 numbers from the set of first 20 Natural numbers, such that they are in A.P.

Umm, I did try solving it but couldn't come up with something concrete. I really don't want to evaluate each case separately, that'd be really cumbersome and not-so-smart way doing it, IMO.

REPLY [2 votes]: Hint: To pick four numbers in arithmetic progression, you really only need to pick the first and last number so that their difference is divisible by 3. That entirely determines the arithmetic sequence.