**Call a set S sparse if every pair of distinct elements of S differ by more than 1. Find the number of sparse subsets (possibly empty) of {1, 2, . . . , 10}.**

Suppose there are k elements in the sparse subsets. We put them in increasing order. Since any two elements differ by at least 2, we have Hence there are at most 5 elements in the set.

To count the number of sparse sets we use the following strategy: look at the gaps

for example if there 4 elements in the subsets, after putting them in increasing order, we look at the gaps between the elements. There are 5 such gaps: . These 5 gaps must account for the remaining 6 elements and the least value of the middle three gaps is 1.

Let

Thus we are looking for the number of non negative integer solutions of . This is given by

Similarly 5 element sparse sets we look at This is given by

Similarly for 3-element subsets we look at . This is given by

Similarly for 2-element subsets we look at . This is given by

Finally there are 10 single element sub set and 1 null set all of which are sparse.

Why?

Consider the statement:

‘If there are two elements then they differ by at least 2.’

The above is an implication statement and it is true for singleton or null sets as ‘if there are two elements’ part of the statement is false (an implication statement becomes true if antecedent becomes false).

Hence the total number of sparse sets: 6 + 35 + 56 + 36 + 10 + 1 = 144