MathDB
Graph consisting of lattice points

Source: Turkey Team Selection Test 2018 P7

March 27, 2018
combinatoricsgraph theorynumber theoryGCDTrees

Problem Statement

For integers a,ba, b, call the lattice point with coordinates (a,b)(a,b) basic if gcd(a,b)=1gcd(a,b)=1. A graph takes the basic points as vertices and the edges are drawn in such way: There is an edge between (a1,b1)(a_1,b_1) and (a2,b2)(a_2,b_2) if and only if 2a1=2a2{b1b2,b2b1}2a_1=2a_2\in \{b_1-b_2, b_2-b_1\} or 2b1=2b2{a1a2,a2a1}2b_1=2b_2\in\{a_1-a_2, a_2-a_1\}. Some of the edges will be erased, such that the remaining graph is a forest. At least how many edges must be erased to obtain this forest? At least how many trees exist in such a forest?