MathDB
elements can be pairwise distinguished

Source: China TST 1988, problem 4

June 27, 2005
modular arithmeticfloor functioncombinatorics unsolvedcombinatorics

Problem Statement

Let kN,k \in \mathbb{N}, Sk={(a,b)a,b=1,2,,k}.S_k = \{(a, b) | a, b = 1, 2, \ldots, k \}. Any two elements (a,b)(a, b), (c,d)(c, d) Sk\in S_k are called "undistinguishing" in SkS_k if ac0a - c \equiv 0 or ±1(modk)\pm 1 \pmod{k} and bd0b - d \equiv 0 or ±1(modk)\pm 1 \pmod{k}; otherwise, we call them "distinguishing". For example, (1,1)(1, 1) and (2,5)(2, 5) are undistinguishing in S5S_5. Considering the subset AA of SkS_k such that the elements of AA are pairwise distinguishing. Let rkr_k be the maximum possible number of elements of AA. (i) Find r5r_5. (ii) Find r7r_7. (iii) Find rkr_k for kNk \in \mathbb{N}.