Sunday, May 19, 2019

Designs, Skolem sequences, and partitions of integers

Recently, my father offered me the first volume of a graphic novel by Jean-François Kierzkowski and Marek called La suite de Skolem — Skolem's sequences. I knew about the norwegian mathematician Thoralf Skolem for two different reasons (the Löwenheim-Skolem theorem in model theory, and some diophantine equations that Laurent Moret-Bailly put in a more geometric setting — see his series of papers on Problèmes de Skolem), but I had never heared about Skolem sequences.

They appear in his 1957 paper, On certain distributions of integers in pairs with given differences (Math Scand., 5, 57-68).
The question is to put the integers 1,2,,2n1,2,\dots,2n in nn pairs (a1,b1),,(an,bn)(a_1,b_1),\dots,(a_n,b_n) such that the differences are all different, namely biai=ib_i-a_i=i for i{1,,r}i\in\{1,\dots,r\}. One can put it differently: write a sequence of 2n2n integers, where each of the integers from 11 to nn appear exactly twice, the two 11s being at distance 11, the two 22s at distance 22, etc.
For example, 4,2,3,2,4,3,1,14,2,3,2,4,3,1,1 is a Skolem sequence of length nn, corresponding to the pairs (7,8),(2,4),(3,6),(1,5)(7,8), (2,4), (3,6),(1,5).

Le jeu des cavaliers (Jessica Stockholder) — photo V. Pantaloni
Le jeu des cavaliers (photo V. Pantaloni)
The possibility of such sequences has been materialized under the form of a giant sculpture Le jeu des cavaliers by Jessica Stockholder at the Institut des Hautes Études Scientifiques (IHÉS) at Bures sur Yvette.

There is a basic necessary and sufficient condition for such a sequence to exist, namely nn has to be congruent to 00 or 11 modulo 44. The proof of necessity is easy (attributed by Skolem to Bang): one has i=1n(biai)=n(n+1)/2\sum_{i=1}^n(b_i-a_i)=n(n+1)/2, and i=1n(bi+ai)=2n(2n+1)/2\sum_{i=1}^n (b_i+a_i)=2n(2n+1)/2, so that i=1nbi=n(n+1)/4+2n(2n+1)/2=n(5n+3)/4\sum_{i=1}^n b_i=n(n+1)/4+2n(2n+1)/2=n(5n+3)/4. If nn is even, this forces n0(mod4)n\equiv 0 \pmod 4, while if nn is odd, this forces 5n+30(mod4)5n+3\equiv 0\pmod 4, hence n1(mod4)n\equiv 1\pmod 4. The proof of  existence consists in an explicit example of such a sequence, which is written down in Skolem's paper.

Skolem's motivation is only alluded to in that paper, but he explains it a bit further next year. In Some Remarks on the Triple Systems of Steiner, he gives the recipe that furnishes such a system from a Skolem sequence. Steiner triple systems on a set SS is the datum of triplets of elements of SS such that each pair of two elements of SS appears exactly once. In other words, they are a (3,2,1)(3,2,1)-design on SS — a (m,p,q)(m,p,q)-design on a set SS being a family of mm-subsets of SS such that each qq-subset appears in exactly pp of those subsets. Some relatively obvious divisibility conditions can be written down that give a necessary condition for the existence of designs with given parameters, but actual existence is much more difficult. In fact, it has been shown only recently by Peter Keevash that these necessary conditions are sufficient, provided the cardinality of the set SS is large enough, see Gil Kalai's talk Designs exist! at the Bourbaki Seminar.

In the case of Steiner triple systems, the condition is that the number ss of elements of SS be congruent to 11 or 33 modulo 66. Indeed, there are s(s1)/2s(s-1)/2 pairs of elements of SS, and each 3-subset of the triple system features 3 such pairs, so that there are N=s(s1)/6N=s(s-1)/6 triples. On the other hand, each element of SS appears exactly 3N/s3N/s times, so that (s1)/2(s-1)/2 is an integer. So ss has to be odd, and either 33 divides ss (in which case s3(mod6)s\equiv 3\pmod 6) or s1(mod6)s\equiv 1\pmod 6.

And Skolem's observation is that a family of nn pairs (ai,bi)(a_i,b_i) as above furnishes a triple system on the set S=Z/(6n+1)ZS=\mathbf Z/(6n+1)\mathbf Z, namely the triples (i,i+j,i+bj+n)(i,i+j,i+b_j+n) where 1i,jn1\leq i,j\leq n, thus constructing Steiner triple systems on a set whose cardinality 6n+16n+1, when n0,1(mod4)n\equiv 0,1\pmod 4.

My surprise came at the reading of the rest of Skolem's 1957 paper, because I knew the result he then described but had no idea it was due to him. (In fact, it was one of the first homework my math teacher Johan Yebbou gave to us when I was in classes préparatoires.) And since this result is very nice, let me tell you about it.

Theorem.Let α>1\alpha>1 and β>1\beta>1 be irrational real numbers such that α1+β1=1\alpha^{-1}+\beta^{-1}=1. Then each strictly positive integer can be written either as αn\lfloor \alpha n\rfloor, or βn\lfloor \beta n\rfloor for some integer n1n\geq 1, but not of both forms.

First of all, assume N=αn=βmN=\lfloor \alpha n\rfloor=\lfloor \beta m\rfloor. Using that α,β\alpha,\beta are irrational, we thus write N<αn<N+1N< \alpha n<N+1 and N<βm<N+1N<\beta m<N+1. Dividing these inequalities by α\alpha and β\beta and adding them, we get N<n+m<N+1N<n+m<N+1, since α1+β1=1\alpha^{-1}+\beta^{-1}=1. This proves that any given integer can be written only of one of those two forms.

Since α1+β1=1\alpha^{-1}+\beta^{-1}=1, one of α,β\alpha,\beta has to be <2<2. Assume that 1<α<21<\alpha<2. The integers of the form αn\lfloor \alpha n\rfloor form a strictly increasing sequence, and we want to show that any integer it avoids can be written βm\lfloor \beta m\rfloor.

Set γ=α1\gamma=\alpha-1, so that β=α/(α1)=1+1/γ\beta=\alpha/(\alpha-1)=1+1/\gamma

For every integer, we have α(n+1)=αn+1\lfloor \alpha(n+1)\rfloor = \lfloor \alpha n\rfloor + 1 or α(n+1)=αn+2\lfloor \alpha(n+1)\rfloor=\lfloor \alpha n\rfloor+2, so that if αn+1\lfloor \alpha n\rfloor + 1 is avoided, one has α(n+1)=αn+2\lfloor \alpha (n+1)\rfloor=\lfloor\alpha n\rfloor +2.

Then, αn=n+γn=n+k1\lfloor \alpha n\rfloor = n+\lfloor \gamma n\rfloor=n+k-1, where k=1+γnk=1+\lfloor \gamma n\rfloor. The inequalities k1<γn<kk-1<\gamma n <k imply k/γ1/γ<n<k/γk/\gamma - 1/\gamma< n<k/\gamma. Moreover, α(n+1)=n+1+γ(n+1)=n+k+1\lfloor \alpha(n+1)\rfloor=n+1+\lfloor \gamma(n+1)\rfloor=n+k+1, so that k+1<γ(n+1)<k+2k+1<\gamma(n+1)<k+2, hence n>k/γ+1/γ1>k/γ1n>k/\gamma+1/\gamma-1>k/\gamma-1. This proves that n=k/γn=\lfloor k/\gamma\rfloor. Then, kβ=k+k/γ=k+n=αn+1\lfloor k\beta\rfloor=k+\lfloor k/\gamma\rfloor=k+n=\lfloor \alpha n\rfloor +1.