Let n be a positive integer. A square ABCD is partitioned into n2 unit squares. Each of them is divided into two triangles by the diagonal parallel to BD. Some of the vertices of the unit squares are colored red in such a way that each of these 2n2 triangles contains at least one red vertex. Find the least number of red vertices.(4th Middle European Mathematical Olympiad, Team Competition, Problem 4) combinatorics proposedcombinatorics