Bosnia and Herzegovina 2018 TST Day 1 Problem 3
Source: Bosnia and Herzegovina 2018 TST
September 15, 2018
combinatoricspolygonrotationgeometrygeometric transformation
Problem Statement
Find all values of positive integers and such that it is possible to put ones and zeros in every of vertices in polygon with sides so it is possible to rotate numbers in those vertices with respect to primary position and after rotation one neighboring and switch places and in every other vertices other than those two numbers remain the same.