Maths Olympiad Prep

Track / Stage 7 / 283 of 300 #1683 of 1964

Problem 1683

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.8 Find the answer putnam

Let Zn\mathbb{Z}^n be the integer lattice in Rn\mathbb{R}^n. Two points in Zn\mathbb{Z}^n are called neighbors\emph{neighbors} if they differ by exactly 11 in one coordinate and are equal in all other coordinates. For which integers n1n \geq 1 does there exist a set of points SZnS \subset \mathbb{Z}^n satisfying the following two conditions? [(1)]\text{[(1)]} If pp is in SS, then none of the neighbors of pp is in SS. [(2)]\text{[(2)]} If pZnp \in \mathbb{Z}^n is not in SS, then exactly one of the neighbors of pp is in SS. \text{}

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Official solution

Such a set exists for every nn. To construct an example, define the function f:ZnZ/(2n+1)Zf: \mathbb{Z}^n \to \mathbb{Z}/(2n+1) \mathbb{Z} by f(x1,,xn)=x1+2x2++nxn(mod2n+1), f(x_1,\dots,x_n) = x_1 + 2x_2 + \cdots + nx_n \pmod{2n+1}, then let SS be the preimage of 0.

To check condition (1), note that if pSp \in S and qq is a neighbor of pp differing only in coordinate ii, then f(q)=f(p)±i±i(mod2n+1) f(q) = f(p) \pm i \equiv \pm i \pmod{2n+1} and so qSq \notin S.

To check condition (2), note that if pZnp \in \mathbb{Z}^n is not in SS, then there exists a unique choice of i{1,,n}i \in \{1,\dots,n\} such that f(p)f(p) is congruent to one of +i+i or i-i modulo 2n+12n+1. The unique neighbor qq of pp in SS is then obtained by either subtracting 11 from, or adding 11 to, the ii-th coordinate of pp.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.