Maths Olympiad Prep

Library / /31 of 37

Number theory Difficulty 7.2 National olympiad, round 2 Find the answer

Find all positive integers aa such that there exists a set XX of 66 integers satisfying the following conditions: for every k=1,2,,36k=1,2,\ldots ,36 there exist x,yXx,y\in X such that ax+ykax+y-k is divisible by 3737.

A number or a short expression. Spacing and $ signs are ignored.

Solution

Find all positive integers a a such that there exists a set X X of 6 6 integers satisfying the following conditions: for every k=1,2,,36 k = 1, 2, \ldots, 36 , there exist x,yX x, y \in X such that ax+yk ax + y - k is divisible by 37 37 .

To solve this, we need to find all positive integers a a such that there exists a set XZ37 X \subset \mathbb{Z}_{37} with X=6 |X| = 6 and for every k{1,2,,36} k \in \{1, 2, \ldots, 36\} , there exist x,yX x, y \in X such that ax+yk(mod37) ax + y \equiv k \pmod{37} .

### Construction
Consider X={16,17,18,19,20,21} X = \{16, 17, 18, 19, 20, 21\} . We need to check if there exist a a such that for every k k , there exist x,yX x, y \in X satisfying ax+yk(mod37) ax + y \equiv k \pmod{37} .

### Proof of Optimality
Let ω \omega be any primitive 37 37 th root of unity. The condition can be translated into the polynomial identity:
(tXωat)(tXωt)=1. \left( \sum_{t \in X} \omega^{at} \right) \left( \sum_{t \in X} \omega^t \right) = -1.

In particular, we have:
(tXωa2t)(tXωat)=1, \left( \sum_{t \in X} \omega^{a^2 t} \right) \left( \sum_{t \in X} \omega^{at} \right) = -1,
which implies:
tXωa2tωt=0. \sum_{t \in X} \omega^{a^2 t} - \omega^t = 0.

This polynomial is divisible by x371 x^{37} - 1 . Therefore, a2X=X a^2 X = X in Z37 \mathbb{Z}_{37} . Sorting the remainders of a2X a^2 X and X X into increasing order, we find that a2X=X a^2 X = X . This implies that if tX t \in X , then a2tX a^2 t \in X .

### Permutation Argument
Consider a permutation π:[6][6] \pi : [6] \rightarrow [6] such that xja2=xπ(j) x_j \cdot a^2 = x_{\pi(j)} . Let d=ord37(a2) d = \text{ord}_{37}(a^2) . The permutation is a disjoint union of cycles of length d d . Therefore, d{1,2,3,6} d \in \{1, 2, 3, 6\} .

#### Case 1: d=1 d = 1
If a1(mod37) a \equiv 1 \pmod{37} , then (x+y)x,yX (x + y)_{x, y \in X} cannot be pairwise distinct. If a1(mod37) a \equiv -1 \pmod{37} , then 1=(tXωat)(tXωt)=tXωt2 -1 = \left( \sum_{t \in X} \omega^{at} \right) \left( \sum_{t \in X} \omega^t \right) = \left| \sum_{t \in X} \omega^t \right|^2 , which is a contradiction.

#### Case 2: d=3 d = 3
If a31(mod37) a^3 \equiv -1 \pmod{37} , we get (tXωat)(tXωt)=tXωt2 \left( \sum_{t \in X} \omega^{at} \right) \left( \sum_{t \in X} \omega^t \right) = \left| \sum_{t \in X} \omega^t \right|^2 , which is a contradiction. If a31(mod37) a^3 \equiv 1 \pmod{37} , we can get X={c,a2c,a4c,d,a2d,a4d} X = \{c, a^2 c, a^4 c, d, a^2 d, a^4 d\} , so aX=X aX = X , leading to a contradiction.

#### Case 3: d=2 d = 2
Then a a can be 6 6 or 31(mod37) 31 \pmod{37} . Check X={16,17,18,19,20,21} X = \{16, 17, 18, 19, 20, 21\} works.

#### Case 4: d=6 d = 6
Then X={t,a2t,a4t,,a10t} X = \{t, a^2 t, a^4 t, \ldots, a^{10} t\} . We need aX+X={1,,36} aX + X = \{1, \ldots, 36\} . If we divide all elements of X X by t(mod37) t \pmod{37} , then X X is the set of 6 6 th powers mod 37 37 and aX aX is the set of cubes that are not 6 6 th powers mod 37 37 . We find X={1,27,26,36,10,11} X = \{1, 27, 26, 36, 10, 11\} and aX={8,31,23,29,6,14} aX = \{8, 31, 23, 29, 6, 14\} . Note 1+636+8(mod37) 1 + 6 \equiv 36 + 8 \pmod{37} , so this case fails.

Thus, the only possible values for a a are 6 6 and 31 31 .

The answer is: \boxed{6, 31}.

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.

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