Consider a polygon with sides where are positive integers. Colour of its vertices red and the remaining vertices blue. A side is given the number if both its end vertices are red, the number if both its end vertices are blue and the number otherwise. Let the product of these numbers be . Find the largest possible value of .
Solution
We first show that if two adjacent vertices have different colours, then swapping the colours of these vertices leaves unchanged. To see this, we only need to consider the four possible cases:
, , ,
which change to , , , .
The value of remains unchanged in each case. Thus by swapping the colours of adjacent vertices repeatedly, we get to the case where vertices of the same colour form one block. We now have edges whose end vertices are red and edges whose end vertices are blue. The value of is , a constant.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.