Maths Olympiad Prep

Library / /75 of 87

Number theory Difficulty 7.2 National Olympiad, round 2 Prove it Serbia

Problem:

A table of dimensions n×nn \times n, in whose cells are the numbers 1,2,,n21,2, \ldots, n^{2} (on each cell exactly one number and each number on exactly one cell), is called a threadwork if all products of nn numbers located on nn "scattered" cells give the same remainder upon division by n2+1n^{2}+1. Does there exist a threadwork table for:

a. n=8n=8;

b. n=10n=10?

(nn cells are "scattered" if no two of them are in the same row or in the same column.)

Solution

Solution:

a.
Suppose that a threadwork table 8×88 \times 8 exists and that the product of any 8 scattered numbers gives remainder rr modulo 82+1=65=5138^{2}+1=65=5 \cdot 13. All numbers in the table can be divided into 8 disjoint octets of scattered numbers. Among these octets there is one that contains a multiple of the number 13 and one that does not contain such a multiple. The product of numbers in the first octet is divisible by 13, and in the second it is not, a contradiction. We conclude that a threadwork table 8×88 \times 8 does not exist.

b.
The number n2+1=101n^{2}+1=101 is prime. Let us fill in the table as in the figure, where gg is a primitive root modulo 101. It is easily seen that the product of the numbers in any 10 scattered cells is congruent to g495(mod101)g^{495}(\bmod 101), so this is an example of a threadwork table.

g0g^{0}g1g^{1}g2g^{2}\cdotsg9g^{9}
g10g^{10}g11g^{11}g12g^{12}\cdotsg19g^{19}
g20g^{20}g21g^{21}g22g^{22}\cdotsg29g^{29}
\vdots\vdots\vdots\vdots
g90g^{90}g91g^{91}g92g^{92}\cdotsg99g^{99}

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: MathNet, licensed CC-BY-4.0. Statement translated into English from sr; metadata (topic, difficulty) added by this project.