Let be a positive integer. Determine, in terms of , how many triples of sets satisfy the conditions: and are pairwise disjoint , that is, . . The sum of the elements of , the sum of the elements of and the sum of the elements of leave the same remainder when divided by .
Note: One or more of the sets may be empty.