MathDB
Constructing two sets from conditions on their intersection, union and product

Source: 2021 Iberoamerican Mathematical Olympiad, P5

October 20, 2021
sets of integersIntersectionunion

Problem Statement

For a finite set CC of integer numbers, we define S(C)S(C) as the sum of the elements of CC. Find two non-empty sets AA and BB whose intersection is empty, whose union is the set {1,2,,2021}\{1,2,\ldots, 2021\} and such that the product S(A)S(B)S(A)S(B) is a perfect square.