MathDB
(A,B,C) pairwise disjoint, union {1,2,....,n}, same sum of elemements div3

Source: Rioplatense Olympiad 2014 level 3 P1

September 6, 2018
Setsremaindernumber theorycombinatorics

Problem Statement

Let n3n \ge 3 be a positive integer. Determine, in terms of nn, how many triples of sets (A,B,C)(A,B,C) satisfy the conditions: \bullet A,BA, B and CC are pairwise disjoint , that is, AB=AC=BC=A \cap B = A \cap C= B \cap C= \emptyset. \bullet ABC={1,2,...,n}A \cup B \cup C= \{ 1 , 2 , ... , n \}. \bullet The sum of the elements of AA, the sum of the elements of BB and the sum of the elements of CC leave the same remainder when divided by 33.
Note: One or more of the sets may be empty.