Just confused as to how I'm suppose to set up the sets. Since there's an upper bound on each of the integers, could we use the Inclusion Exclusion Principle? I'm not too sure how to set that up because each integer depends on the one before it.
Anyway, any help would be appreciated. Thanks.