MathLabs

Problem 5

Let nn be a positive integer. A pair of nn-tuples (a1,…,an)(a_1,\ldots,a_n) and (b1,…,bn)(b_1,\ldots,b_n) with integer entries is called an exquisite pair if ∣a1b1+⋯+anbn∣≤1|a_1b_1+\cdots+a_nb_n|\le1. Determine the maximum number of distinct nn-tuples with integer entries such that any two of them form an exquisite pair.
Step 1 of 5: Construct n2+n+1n^2+n+1 pairwise exquisite tuples
{0}∪{±ei}i=1n∪{ei+ej, ei−ej}i<j  ⟹  1+2n+n(n−1)=n2+n+1\{0\}\cup\{\pm e_i\}_{i=1}^n\cup\{e_i+e_j,\ e_i-e_j\}_{i<j} \implies 1+2n+n(n-1)=n^2+n+1
Detailed analysis

Take the zero tuple; the 2n2n tuples with a single entry equal to 11 or −1-1 at one position; and, for each of the (n2)\binom n2 pairs of positions i<ji<j, the two tuples with entries (1,1)(1,1) and (1,−1)(1,-1) at positions i,ji,j and zeros elsewhere. The total count is 1+2n+2(n2)=1+2n+n(n−1)=n2+n+11+2n+2\binom n2=1+2n+n(n-1)=n^2+n+1.