MathDB
3 conditions for endpoints on lattice points, (a,b) if a+b=multiple of 3 or ...

Source: OLCOMA Costa Rica National Olympiad, Final Round, 2015 Shortlist LR4 day1 (Logic Reasoning)

September 29, 2021
combinatoricslattice points

Problem Statement

Let P={(a,b)/a,b{1,2,...,n},nN}P =\{(a, b) / a, b \in \{1, 2, ..., n\}, n \in N\} be a set of point of the Cartesian plane and draw horizontal, vertical, or diagonal segments, of length 11 or 2\sqrt 2, so that both ends of the segment are in PP and do not intersect each other. Furthermore, for each point (a,b)(a, b) it is true that i) if a+ba + b is a multiple of 33, then it is an endpoint of exactly 33 segments. ii) if a+ba + b is an even not multiple of 33, then it is an endpoint of exactly 22 segments. iii) if a+ba + b is an odd not multiple of 33, then it is endpoint of exactly 11 segment. a) Check that with n=6n = 6 it is possible to satisfy all the conditions. b) Show that with n=2015n = 2015 it is not possible to satisfy all the conditions.