Hostname: page-component-78c5997874-m6dg7 Total loading time: 0 Render date: 2024-11-20T01:13:11.146Z Has data issue: false hasContentIssue false

ON THE NUMBER OF QUADRATIC ORTHOMORPHISMS THAT PRODUCE MAXIMALLY NONASSOCIATIVE QUASIGROUPS

Published online by Cambridge University Press:  20 February 2023

ALEŠ DRÁPAL
Affiliation:
Department of Mathematics, Charles University, Sokolovská 83, 186 75 Praha 8, Czech Republic e-mail: [email protected]
IAN M. WANLESS*
Affiliation:
School of Mathematics, Monash University, Clayton, Victoria 3800, Australia
Rights & Permissions [Opens in a new window]

Abstract

Let q be an odd prime power and suppose that $a,b\in \mathbb {F}_q$ are such that $ab$ and $(1{-}a)(1{-}b)$ are nonzero squares. Let $Q_{a,b} = (\mathbb {F}_q,*)$ be the quasigroup in which the operation is defined by $u*v=u+a(v{-}u)$ if $v-u$ is a square, and $u*v=u+b(v{-}u)$ if $v-u$ is a nonsquare. This quasigroup is called maximally nonassociative if it satisfies $x*(y*z) = (x*y)*z \Leftrightarrow x=y=z$. Denote by $\sigma (q)$ the number of $(a,b)$ for which $Q_{a,b}$ is maximally nonassociative. We show that there exist constants $\alpha \approx 0.029\,08$ and $\beta \approx 0.012\,59$ such that if $q\equiv 1 \bmod 4$, then $\lim \sigma (q)/q^2 = \alpha $, and if $q \equiv 3 \bmod 4$, then $\lim \sigma (q)/q^2 = \beta $.

MSC classification

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of Australian Mathematical Publishing Association Inc.

1 Introduction

A quasigroup $(Q,*)$ is a nonempty set Q with a binary operation $*$ such that, for each $a,b\in Q$ , there exist unique $x,y\in Q$ for which $a*x=b$ and $y*a=b$ . A quasigroup $(Q,*)$ is said to be maximally nonassociative if

(1-1) $$ \begin{align} (u*v)*w = u*(v*w) \Longrightarrow u=v=w \end{align} $$

holds for all $u,v,w \in Q$ . By [Reference Kepka11], a maximally nonassociative quasigroup has to be idempotent (that is, $u*u=u$ for all $u\in Q$ ). Hence, in a maximally nonassociative quasigroup, the converse of implication (1-1) holds as well.

The existence of maximally nonassociative quasigroups was an open question for quite a long time [Reference Drápal and Valent4, Reference Grošek and Horák10, Reference Kepka11]. In 2018, a maximally nonassociative quasigroup of order nine was found [Reference Drápal and Valent5], and that was the first step to realise that Stein’s nearfield construction [Reference Stein14] can be used to obtain maximally nonassociative quasigroups of all orders $q^2$ , where q is an odd prime power [Reference Drápal and Lisoněk3]. A recent result of the present authors [Reference Drápal and Wanless6] (partially duplicated in [Reference Lisoněk13]) constructs examples of all orders with the exception of a handful of small cases and two sparse subfamilies within the case $n\equiv 2\bmod 4$ . The main construction used in [Reference Drápal and Wanless6, Reference Lisoněk13] is based upon quadratic orthomorphisms and applies for all odd prime powers $q\geqslant 13$ . However, it was left open how many quadratic orthomorphisms can be used in the construction. We provide an asymptotic answer to that question in this paper.

Throughout this paper, q is an odd prime power and $\mathbb {F} = \mathbb {F}_q$ is a field of order q. For $a,b\in \mathbb {F}$ , define a binary operation on $\mathbb {F}$ by

(1-2) $$ \begin{align} u*v= \begin{cases} u+a(v-u)&\text{if }v-u\text{ is a square,}\\ u+b(v-u)&\text{if }v-u\text{ is a nonsquare.} \end{cases} \end{align} $$

This operation yields a quasigroup if and only if both $ab$ and $(1-a)(1-b)$ are squares, and both a and b are distinct from $0$ and $1$ , see [Reference Evans7, Reference Wanless16]. Denote by ${\Sigma = \Sigma (\mathbb {F})}$ the set of all such $(a,b) \in \mathbb {F}\times \mathbb {F}$ for which $a\ne b$ . For each $(a,b) \in \Sigma $ , denote the quasigroup $(\mathbb {F},*)$ by $Q_{a,b} = Q_{a,b}(\mathbb {F})$ .

If $a=b\in \mathbb {F}\setminus \{0,1\}$ , then Equation (1-2) defines a quasigroup in which $u*(v*u) = (u*v)*u$ for all $u,v \in \mathbb {F}$ . This means that such a quasigroup is never maximally nonassociative. If $q\geqslant 13$ , then there always exists $(a,b) \in \Sigma (\mathbb {F}_q)$ such that $Q_{a,b}$ is maximally nonassociative [Reference Drápal and Wanless6, Reference Lisoněk13]. This paper is concerned with the density of such $(a,b)$ . Our main result is the following theorem.

Theorem 1.1. For an odd prime power q, denote by $\sigma (q)$ the number of $(a,b) \in \Sigma (\mathbb {F}_q)$ for which $Q_{a,b}$ is maximally nonassociative. Then

$$ \begin{align*} \lim_{q\to \infty}\frac{\sigma(q)}{q^2} = \begin{cases} 953\cdot2^{-15}\approx 0.029\,08&\text{for }q\equiv 1\bmod 4,\\ 825\cdot2^{-16}\approx 0.012\,59&\text{for }q\equiv 3\bmod 4. \end{cases} \end{align*} $$

As we show below, the set $\Sigma $ consists of $(q^2-8q+15)/4$ elements. Hence, a random choice of $(a,b) \in \Sigma $ yields a maximally nonassociative quasigroup with probability $\approx 1/8.596$ if $q\equiv 1\bmod 4$ , and with probability $\approx 1/19.86$ if $q\equiv 3 \bmod 4$ . This may have an important consequence for the cryptographic application described in [Reference Grošek and Horák10]. It means that a maximally nonassociative quasigroup of a particular large order can be obtained in an acceptable time by randomly generating pairs $(a,b)$ until one is found for which $Q_{a,b}$ is maximally nonassociative.

An important ingredient in the proof of Theorem 1.1 is the transformation described in Proposition 1.2, and used in Corollary 1.3 to determine $|\Sigma |$ .

Define $S = S(\mathbb {F})$ as the set of all $(x,y)\in \mathbb {F}\times \mathbb {F}$ such that both x and y are squares, $x\ne y$ , and $\{0,1\}\cap \{x,y\}=\varnothing $ .

Proposition 1.2. For each $(a,b)\in \Sigma $ , there exists exactly one $(x,y)\in S$ such that

(1-3) $$ \begin{align} a=\frac{x(1{-}y)}{x{-}y}, \quad b = \frac{1{-}y}{x{-}y}, \quad 1{-}a = \frac{y(1{-}x)}{y{-}x} \quad\text{and}\quad 1{-}b=\frac{1{-}x}{y{-}x}. \end{align} $$

The mapping

$$ \begin{align*} \Psi\colon \Sigma\to S, \quad (a,b) \mapsto \bigg ( \frac ab, \frac{1{-}a}{1{-}b}\bigg)\end{align*} $$

is a bijection. If $(x,y)\in S$ , then $\Psi ^{-1} ((x,y)) = (a,b)$ if and only if Equations (1-3) hold.

Proof. If $x,y,a,b\in \mathbb {F}$ satisfy $x\ne y$ , $a =x(1{-}y)/(x{-}y)$ , and $b= (1{-}y)/(x{-}y)$ , then

(1-4) $$ \begin{align} 1{-}a = y(1{-}x)/(y{-}x) \quad \text{and}\quad 1{-}b = (1{-}x)/(y{-}x). \end{align} $$

Define

$$ \begin{align*} \Phi\colon S\to \mathbb{F}\times \mathbb{F}, \quad (x,y)\mapsto \bigg ( \frac{x(1{-}y)} {x{-}y}, \frac{1{-}y}{x{-}y}\bigg ). \end{align*} $$

Suppose that $(x,y) \in S$ and set $b = (1{-}y)/(x{-}y)$ . Then $b\ne 0$ as $y\ne 1$ , and $b\ne 1$ since $x\ne 1$ . Put $a = xb$ . Then $a\ne 0$ since $b\ne 0$ and $x\ne 0$ , and $a\ne b$ since $x\ne 1$ . Furthermore, $a\ne 1$ since $y\ne 0$ and $x\ne 1$ . Since $a=xb$ , $ab=xb^2$ is a square. By Equations (1-4), $1{-}a = y(1{-}b)$ . Hence, $(1{-}a)(1{-}b) = y(1{-}b)^2$ is a square too. This verifies that $\Phi $ may be considered as a mapping $S\to \Sigma $ .

Assume $(a,b) \in \Sigma $ . By definition, $\Psi ((a,b))=(x,y)$ , where $x=a/b$ and $y= (1{-}a)/(1{-}b)$ . We have $x\notin \{0,1\}$ since $a\ne 0$ and $a\ne b$ . Similarly, $y\notin \{0,1\}$ . Furthermore, $x\ne y$ since $x=y$ implies $a = b$ . Thus, $(x,y)\in S$ . By straightforward verification, $\Psi \Phi = \operatorname {id}_S$ and $\Phi \Psi = \operatorname {id}_\Sigma $ .

Corollary 1.3. $|\Sigma (\mathbb {F}_q)| = |S(\mathbb {F}_q)| = (q^2-8q+15)/4$ .

Proof. By Proposition 1.2, $|\Sigma | = |S|$ . Furthermore, by the definition, S contains $((q-3)/2)^2 - (q-3)/2$ elements.

The definition of $Q_{a,b}$ follows the established way of defining a quasigroup by means of an orthomorphism, say $\psi $ , of an abelian group $(G,+)$ . Here, $\psi $ is said to be an orthomorphism of $(G,+)$ if it permutes G and the mapping $x\mapsto \psi (x)-x$ permutes G as well. A quadratic orthomorphism $\psi _{a,b}$ is defined for each $(a,b)\in \Sigma (\mathbb {F}_q)$ by

(1-5) $$ \begin{align} \psi_{a,b}(u) = \begin{cases} au \quad \text{if }u\text{ is a square,}\\ bu \quad \text{if }u\text{ is a nonsquare.}\end{cases} \end{align} $$

The definition in Equation (1-2) of the quasigroup $Q_{a,b}$ thus fits the general scheme that $u*v = u+\psi (v-u)$ is a quasigroup whenever $\psi $ is an orthomorphism of an abelian group $(G,+)$ . See [Reference Evans7, Reference Wanless15] for more information on quasigroups defined by means of orthomorphisms.

The number of associative triples in such a quasigroup depends upon the number of solutions to the associativity equation:

(1-6) $$ \begin{align} \psi(\psi(u)-v) = \psi(-v) + \psi(u-v-\psi(-v)). \end{align} $$

Below we always assume that $\psi = \psi _{a,b}$ for some $(a,b) \in \Sigma $ . Some of our statements remain true in the case of a general $\psi $ . However, the general situation is not the focus of this paper.

Proposition 1.4. For $(a,b)\in \Sigma $ , put $\psi = \psi _{a,b}$ . An ordered pair $(u,v)\in \mathbb {F}^2$ fulfills the associativity equation (1-6) if and only if $v*(0\,*u) = (v*\,0)*u$ . Furthermore,

$$ \begin{align*} u-v-\psi(-v) = u - (v*0) \quad\text{and}\quad \psi(u) - v = (0*u)-v. \end{align*} $$

If $(u,v)\ne (0,0)$ fulfills Equation (1-6), then none of u, v, $u-v-\psi (-v)$ , and $\psi (u)-v$ vanishes, and $(c^2u,c^2v)$ fulfills Equation (1-6) too, for any $c\in \mathbb {F}$ .

The quasigroup $Q_{a,b}$ is maximally nonassociative if and only if $(u,v)=(0,0)$ is the only solution to Equation (1-6).

Proof. This is a restatement of [Reference Drápal and Wanless6, Lemmas 1.3 and 3.1]. A sketch of the proof follows, to make this paper self-contained. Since $u \mapsto z + u$ is an automorphism of $Q=Q_{a,b}$ for each $z\in \mathbb {F}$ , the maximal nonassociativity is equivalent to having no $(u,v)\ne (0,0)$ such that $u*(0*v) = (u*0)*v$ . This turns into Equation (1-6) by invoking the formula $u*v = u+\psi (v-u)$ . Since $x\mapsto c^2x$ is an automorphism of Q for each $c\in \mathbb {F}$ , $c\ne 0$ , the associativity equation holds for $(u,v)$ if and only if it holds for $(c^2u,c^2v)$ . For the rest, it suffices to observe that in an idempotent quasigroup, $u*(v*w) =(u*v) *w $ implies $u=v=w$ if $u=v$ or $u=v*w$ or $v=w$ or $u*v = w$ .

For $(a,b)\in \Sigma $ , denote by $E(a,b)$ the set of $(u,v)\ne (0,0)$ that satisfy the associativity equation (1-6). By Proposition 1.4, $Q_{a,b}$ is maximally nonassociative if and only if $E(a,b)= \varnothing $ . The number of such $(a,b)$ may be obtained indirectly by counting the number of $(a,b)\in \Sigma $ for which $E(a,b)\ne \varnothing $ . To this end, we partition $E(a,b) = \bigcup E_{ij}^{rs}(a,b)$ , where $i,j,r,s\in \{0,1\}$ . To determine to which part an element $(u,v)\in E(a,b)$ belongs, the following rule is used:

$$ \begin{gather*} \begin{aligned} i=0 &\Longleftrightarrow u \ \text {is a square};\\ j=0 &\Longleftrightarrow -v \ \text {is a square};\\ r=0 &\Longleftrightarrow \psi_{a,b}(u)-v \ \text {is a square; and}\\ s=0 &\Longleftrightarrow u-v-\psi_{a,b}(-v) \ \text {is a square}. \end{aligned} \end{gather*} $$

Thus, if one of the elements u, $-v$ , $\psi _{a,b}(u){-}v$ , and $u{-}v{-}\psi _{a,b}(-v)$ is a nonsquare, then the respective value of i, j, r, or s is set to $1$ . For each $(u,v)\in E(a,b)$ , there hence exists exactly one quadruple $(i,j,r,s)$ such that $(u,v) \in E_{ij}^{rs}(a,b)$ , giving us the desired partition. We also work with sets

$$ \begin{align*} \Sigma_{ij}^{rs} = \{(a,b)\in \Sigma: E_{ij}^{rs}(a,b)\ne \varnothing\}, \end{align*} $$

where $i,j,r,s\in \{0,1\}$ . The next observation directly follows from the definition of the sets $\Sigma _{ij}^{rs}$ . It is recorded here for the sake of later reference.

Proposition 1.5. Suppose that $(a,b)\in \Sigma =\Sigma (\mathbb {F}_q)$ for an odd prime power $q>1$ . The quasigroup $Q_{a,b}$ is maximally nonassociative if and only if $(a,b)\notin \bigcup \Sigma _{ij}^{rs}$ .

If it is assumed that $(u,v) \in E_{ij}^{rs}(a,b)$ , then the associativity equation (1-6) can be turned into a linear equation in unknowns u and v since each occurrence of $\psi $ can be interpreted by means of Equation (1-5). The list of these linear equations can be found in [Reference Drápal and Wanless6]. Their derivation is relatively short and is partly repeated in Lemmas 2.42.7. The approach used here differs from that of [Reference Drápal and Wanless6] in two aspects. The symmetries induced by opposite quasigroups and by automorphisms $Q_{a,b}\cong Q_{b,a}$ are used more extensively here, and characterizations of $\Sigma _{ij}^{rs}$ are immediately transformed into characterizations of

$$ \begin{align*} S_{ij}^{rs} = \Psi(\Sigma_{ij}^{rs}). \end{align*} $$

As will turn out, sets $S_{ij}^{rs}$ can be described by a requirement that several polynomials in x and y are either squares or nonsquares. Estimates of $|S_{ij}^{rs}|$ can be thus obtained by means of the Weil bound (as formulated, say, in [Reference Evans, Mullen and Panario8, Theorem 6.22]). We are not using the Weil bound directly, but via Theorem 1.6 below, a straightforward consequence from [Reference Drápal and Wanless6, Theorem 1.4]. Applications of Theorem 1.6 to the intersections of sets $S_{ij}^{rs}$ , with symmetries taken into account, yield, after a number of computations, the asymptotic results stated in Theorem 1.1.

Say that a list of polynomials $p_1,\ldots ,p_k$ in one variable, with coefficients in $\mathbb {F}$ , is square-free if there exists no sequence $1\leqslant i_1<\cdots <i_r \leqslant k$ such that $r\geqslant 1$ and $p_{i_1}\cdots p_{i_r}$ is a square (as a polynomial with coefficients in the algebraic closure $\bar {\mathbb {F}}$ of $\mathbb {F}$ ). Define $\chi \colon \mathbb {F}\to \{\pm 1,0\}$ to be the quadratic character extended by $\chi (0)=0$ .

Theorem 1.6. Let $p_1,\ldots ,p_k\in \mathbb {F}[x]$ be a square-free list of polynomials of degree $d_i\geqslant 1$ , and let $\varepsilon _1,\ldots ,\varepsilon _k\in \{-1,1\}$ . Denote by N the number of all $\alpha \in \mathbb {F}$ such that $\chi (p_i(\alpha ))= \varepsilon _i$ , for $1\leqslant i \leqslant k$ . Then

$$ \begin{align*}|N-2^{-k}q|<(\!\sqrt q+1)D/2-\sqrt{q}(1-2^{-k})<(\!\sqrt q+1)D/2, \end{align*} $$

where $D=\sum _i d_i$ .

The purpose of Section 2 is to describe each of the sets $S_{ij}^{rs}$ by a list of polynomials $p(x,y)$ such that the presence of $(x,y)\in S$ in $S_{ij}^{rs}$ depends upon $p(x,y)$ being a square or nonsquare. Theorem 2.10 gives such a description for $q=|\mathbb {F}|\equiv 1 \bmod 4$ , and Theorem 2.11 for $q\equiv 3 \bmod 4$ . Section 3 contains auxiliary results that make applications of Theorem 1.6 possible. Note that Theorem 1.6 is concerned with polynomials in only one variable. To use it, one of the variables, say y, has to be fixed. If $y=c$ , and $p_1(x,y),\ldots ,p_k(x,y)$ are the polynomials occurring in Theorems 2.10 and 2.11, then Theorem 1.6 may be used without further specifications only for those c for which $p_1(x,c),\ldots ,p_k(x,c)$ is a square-free list. The purpose of Section 3 is to show that this is true for nearly all c, and that the number of possible exceptional values of c is very small. Section 4 provides the estimate of $S\setminus \bigcup S_{ij}^{rs}$ for $q\equiv 3\bmod 4$ , and Section 5 for $q\equiv 1 \bmod 4$ , in Theorems 4.4 and 5.5, respectively. Section 6 consists of concluding remarks.

2 Quadratic residues and the associativity equation

Let $Q^{op}_{a,b}$ denote the opposite quasigroup of $Q_{a,b}$ , namely the quasigroup satisfying $Q^{op}_{a,b}(u,v)=Q_{a,b}(v,u)$ for all $u,v$ . The following facts are well known [Reference Evans7, Reference Wanless16] and easy to verify.

Lemma 2.1. If $(a,b)\in \Sigma $ , then

  1. (i) $u\mapsto u\zeta $ is an isomorphism $Q_{a,b}\cong Q_{b,a}$ , for every nonsquare $\zeta \in \mathbb {F}$ ;

  2. (ii) $Q^{op}_{a,b} = Q_{1-a,1-b}$ if $q\equiv 1\bmod 4$ , and $Q^{op}_{a,b} = Q_{1-b,1-a}$ if $q\equiv 3\bmod 4$ .

An alternative way to express that $q\equiv 1 \bmod 4$ is to say that $-1$ is a square. If $\bar *$ denotes the operation of the opposite quasigroup, then $(v\,\bar *\, 0)\,\bar *\, u = v\,\bar *\, (0 \,\bar *\, u)$ holds in $Q_{a,b}^{op}$ if and only if $u*(0*v) = (u*0)*v$ . Hence, $(u,v)\in E(a,b)$ if and only if $(v,u)\in E(a',b')$ , where $(a',b')=(1{-}a,1{-}b)$ if $-1$ is a square, and $(a',b')= (1{-}b,1{-}a)$ if $-1$ is a nonsquare, by part (ii) of Lemma 2.1. Similarly, $(u,v)\in E(a,b)$ if and only if $(\zeta u,\zeta v)\in E(b,a)$ .

Working out these connections with respect to being square or nonsquare yields the following statement. It appears without a proof since it coincides with [Reference Drápal and Wanless6, Lemmas 3.2 and 3.3] and since the proof is straightforward.

Lemma 2.2. Assume $(a,b)\in \Sigma $ and $i,j,r,s\in \{0,1\}$ . Then

(2-1) $$ \begin{align} (u,v)\in E_{ij}^{rs}(a,b) &\Longleftrightarrow (\zeta u,\zeta v) \in E_{1-i,1-j}^{1-r,1-s}(b,a);\qquad\qquad\qquad\qquad\quad \end{align} $$
(2-2) $$ \begin{align} (u,v)\in E_{ij}^{rs}(a,b) &\Longleftrightarrow (v,u) \in E_{ji}^{sr}(1{-}a,1{-}b) \text{ if }-1\text{ is a square; and}\qquad\ \end{align} $$
(2-3) $$ \begin{align} (u,v)\in E_{ij}^{rs}(a,b) &\Longleftrightarrow (v,u) \in E_{1-j,1-i}^{1-s,1-r}(1{-}b,1{-}a) \text{ if }-1\text{ is a nonsquare.} \end{align} $$

Proposition 2.3. Both of the mappings $(x,y)\mapsto (y,x)$ and $(x,y)\mapsto (x^{-1},y^{-1})$ permute the set $S = S(\mathbb {F})$ . If $i,j,r,s\in \{0,1\}$ , then

$$ \begin{align*} (x,y) \in S_{ij}^{rs} \Longleftrightarrow (y,x) \in S_{ji}^{sr} \Longleftrightarrow (x^{-1},y^{-1})\in S_{1-i,1-j}^{1-r,1-s}. \end{align*} $$

Proof. By definition, $(x,y)\in S$ if and only if x and y are both squares, $x\ne y$ , and $\{x,y\}\cap \{0,1\}=\varnothing $ . These properties are retained both by the switch $(x,y)\mapsto (\kern1.5pt y,x)$ and by the inversion $(x,y)\mapsto (x^{-1},y^{-1})$ . These mappings thus permute S.

Let $(a.b)\in \Sigma $ be such that $\Psi ((a,b)) = (x,y)$ . Then $x=a/b$ , $y = (1{-}a)/(1{-}b)$ . Hence, $\Psi ((b,a)) = (x^{-1},y^{-1})$ and $\Psi ((1{-}a,1{-}b)) = (\kern1.5pt y,x)$ . For the proof, we thus need to show that

$$ \begin{align*} (a,b) \in \Sigma_{ij}^{rs} \Longleftrightarrow (1{-}a,1{-}b) \in \Sigma_{ji}^{sr} \Longleftrightarrow (b,a)\in \Sigma_{1-i,1-j}^{1-r,1-s}. \end{align*} $$

Suppose that $(a,b) \in \Sigma _{ij}^{rs}$ , that is, that there exists $(u,v) \in E_{ij}^{rs}(a,b)$ . If $-1$ is a square, then $(v,u)\in E_{ji}^{sr}(1{-}a,1{-}b)$ by Condition (2-2). If $-1$ is a nonsquare, then $(\zeta v,\zeta u) \in E_{ji}^{sr}(1{-}a,1{-}b)$ , by Conditions (2-3) and (2-1). Thus, $(1{-}a,1{-}b)\in \Sigma _{ji}^{sr}$ in both cases. We also have $(\zeta u,\zeta v) \in E_{1-i,1-j}^{1-r,1-s}(b,a)$ , by Condition (2-1). Hence, $(b,a)\in \Sigma _{1-i,1-j}^{1-r,1-s}$ .

To determine all of the sets $S_{ij}^{rs}$ , it thus suffices to know the sets

(2-4) $$ \begin{align} S_{00}^{00},\ S_{00}^{01},\ S_{00}^{11},\ S_{01}^{00},\ S_{01}^{01}, \text{ and } S_{01}^{10}. \end{align} $$

We next determine these sets via a sequence of lemmas.

Lemma 2.4. If $-1$ is a square, then $S_{01}^{00}=S_{01}^{10}=\varnothing $ , while

$$ \begin{align*} (x,y)\in S_{00}^{00} &\Longleftrightarrow (1{-}x)(\kern1.5pt y{-}x)\text{ and }(1{-}y)(\kern1.5pt y{-}x)\text{ are squares; and}\\ (x,y)\in S_{00}^{11} &\Longleftrightarrow (x^2y+xy-x^2-y^2)(\kern1.5pt y{-}x)\text{ and}\\ &\phantom{\Longleftrightarrow } (xy^2+xy-x^2-y^2)(\kern1.5pt y{-}x)\text{ are nonsquares.} \end{align*} $$

Proof. We assume that $-1$ is a square. If $(u,v)\in E_{00}^{00}(a,b)$ , then the associativity equation attains the form $a(au-v)=-av+a(u-v+av)$ , and that is the same as $(1{-}a)(u{-}v)=0$ . Since $1{-}a\ne 0$ , and since u is assumed to be square, the set $E_{00}^{00}(a,b)$ is nonempty if and only if it contains $(1,1)$ , by Proposition 1.4. This takes place if and only if $1{-}a$ and a are squares. Suppose that $(x,y) = \Psi ((a,b))$ . Then $a=x(1{-}y)/(x{-}y)$ is a square if and only if $(1{-}y)(\kern1.5pt y{-}x)$ is a square, and $1{-}a = y(1{-}x)/(\kern1.5pt y{-}x)$ is a square if and only if $(1{-}x)(\kern1.5pt y{-}x)$ is a square.

If $(u,v) \in E_{00}^{11}(a,b)$ , then $b(au-v)=-av+b(u-v+av)$ yields $ub(a{-}1)=a(b{-}1)v$ , where both u and v are squares. Thus, $(u,v)$ is a solution if and only if $(1,b(a{-}1)/a(b{-}1))$ is a solution. Since $v=b(a{-}1)/a(b{-}1)$ is always a square, the conditions for the existence of the solution are that $a-v$ and $1-(1{-}a)v$ are nonsquares. If $(x,y) = \Psi ((a,b))$ , then $v = y/x$ , $a-v = (x^2-x^2y-yx+y^2)/x(x-y)$ , and $1-(1{-}a)v=(xy-x^2-y^2+y^2x)/x(\kern1.5pt y{-}x)$ .

If $(u,v) \in E_{01}^{00}(a,b)$ , then $a(au-v)=-bv + a(u-v+bv)$ and $a(a-1) u = b(a-1)v$ . This implies that $uv$ is a square. However, the assumption $(u,v) \in E_{01}^{00}(a,b)$ implies that u is a square and $-v$ is a nonsquare. Thus, $uv$ should be both a square and a nonsquare, which is a contradiction. If $(u,v) \in E_{01}^{10}(a,b)$ , then $b(au-v)=-bv + a(u-v+bv)$ , and that gives $u=v$ , which is a contradiction again.

Lemma 2.5. If $-1$ is a nonsquare, then $S_{00}^{00}=S_{00}^{11}=\varnothing $ , while

$$ \begin{align*} (x,y) \in S_{01}^{10} & \Longleftrightarrow (x,y) \in S_{10}^{01};\\ & \Longleftrightarrow (1{-}y)(x{-}y)\text{ and }(1{-}x)(\kern1.5pt y{-}x)\text{ are squares; and} \\ (x,y) \in S_{01}^{00} & \Longleftrightarrow (x{-}1)(\kern1.5pt y{-}x)\text{ and }(x^2{-}2x{+}y)(\kern1.5pt y{-}x)\text{ are squares.} \end{align*} $$

Proof. We assume that $-1$ is a nonsquare. If $E_{00}^{00}(a,b)\ne \varnothing $ , then $(1,1)\in E_{00}^{00} (a,b)$ , by the same argument as in the proof of Lemma 2.4. However, $(1,1)$ cannot belong to $E_{00}^{00}(a,b)$ since $-1$ is a nonsquare. Similarly, $E_{00}^{11}(a,b) = \varnothing $ since $-b(a{-}1)/a(b{-}1)$ is a nonsquare.

Suppose that $(u,v) \in E_{01}^{00}(a,b)$ . Then Equation (1-6) implies $au = bv$ . Hence, $(a,b)\in \Sigma _{01}^{00}$ if and only if $(1,a/b)\in E_{01}^{00}(a,b)$ . The latter takes place if and only if $a-a/b$ and $1-(1{-}b)a/b$ are squares. Let $(x,y) = \Psi ((a,b))$ . Then

$$ \begin{align*} a-a/b = x((1{-}y)/(x{-}y)-1) = x(1{-}x)/(x{-}y) \end{align*} $$

and

$$ \begin{align*} 1-(1{-}b)a/b=1-x(1-x)/(\kern1.5pt y{-}x)=(x^2{-}2x{+}y)/(\kern1.5pt y{-}x). \end{align*} $$

Let $(u,v)\in E_{01}^{10}(a,b)$ . Then $u=v$ by Equation (1-6). Hence, $(a,b)\in \Sigma _{01}^{10}$ if and only if $(1,1)\in E_{01}^{10}(a,b)$ . The latter is true if and only if $a-1$ is a nonsquare and b is a square. If $(x,y) = \Psi ((a,b))$ , then this means that $(x{-}1)(\kern1.5pt y{-}x)$ is a nonsquare and $(1{-}y)(x{-}y)$ is a square. The symmetry of these conditions shows that $(x,y)\in S_{01}^{10}$ if and only if $(\kern1.2pt y,x)\in S_{01}^{10}$ . Hence, $S_{01}^{10}=S_{10}^{01}$ , by Proposition 2.3.

Lemma 2.6. Assume that $(x,y) \in S$ . Then $(x,y) \in S_{00}^{01}$ if and only if $-xy-y+x$ and $(-x^2y+x^2+y^2-xy)(x{-}y)$ are squares, and $(1{-}y)(x{-}y)$ is a nonsquare.

Proof. Here, the associativity equation is equal to $a(au-v)=-av+b(u-v+av)$ , and that is the same as $(a^2-b)u=(ab-b)v$ . Therefore, $(a,b)\in \Sigma _{00}^{01}$ if and only if $(1,(a^2{-}b)/b(a{-}1))\in E_{00}^{01}(a,b)$ . If $(x,y) = \Psi ((a,b))$ , then

$$ \begin{align*} (a^2-b) (x-y)^2 &= x^2(1\kern1.5pt{-}\kern1.5pt y)^2-(1\kern1.5pt{-}\kern1.5pt y)(x\kern1.5pt{-}\kern1.5pt y) = (1\kern1.5pt{-}\kern1.5pt y)(x^2\kern1.5pt{-}\kern1.5pt x^2y\kern1.7pt{-}\kern1.7pt x+y)\\ & = (1\kern1.7pt{-}\kern1.7pt y)(1\kern1.7pt{-}\kern1.7pt x)(\kern1.5pt y+xy-x), \end{align*} $$

and $b(a{-}1)(x{-}y)^2 = (1{-}y)y(1{-}x)$ . So, $v=(a^2-b)/b(a-1)=(\kern1.5pt y+xy-x)/y$ , showing that $y+xy-x$ is a square. It follows that $a-v =(-x^2y+x^2+y^2-xy)/(x-y)y$ and $(1-(1{-}a)v)(\kern1.5pt y{-}x) =x^2(\kern1.5pt y{-}1)$ . Thus, $(1{-}y)(x{-}y)$ has to be a nonsquare.

Lemma 2.7. Assume that $(x,y)\in S$ .

  1. (i) If $y{+}1{-}x = 0 = x^2{-}x{-}1$ and $q>43$ , then $(x,y) \in S_{01}^{01}$ .

  2. (ii) If $y{+}1{-}x \ne 0$ or $x^2{-}x{-}1\ne 0$ , then $(x,y)\in S_{01}^{01}$ if and only if both $(\kern1.5pt y{+}xy{-}x)(x{-}y{-}1)$ and $(\kern1.5pt y{-}2x{+}x^2)(x{-}y)(x{-}y{-}1)$ are nonsquares, while $(2xy{-}y^2{-}x)(x{-}y)(x{-}y{-}1)$ is a square.

Proof. In this case, the associativity equation yields ${a(au\kern1.2pt{-}\kern1.2pt v) \kern1.2pt{=}\kern1.2pt {-}\kern1.2pt bv + b(u - (1{-}b)v)}$ . That is equivalent to $(a^2-b)u = (b^2-2b+a)v$ . If there exists a solution $(u,v)\in E_{01}^{01}(a,b)$ , and one of the elements $a^2-b$ and $b^2-2b+a$ is equal to zero, then the other has to vanish as well. Assume that $(x,y)=\Psi ((a,b))$ . Then $a^2-b=0$ if and only if $0 = x^2(1-y)^2-(1-y)(x-y) = (1-y)(-x^2y+x^2-x+y) = (1-y)(1-x)(\kern1.5pt y+xy-x)$ , and $b^2-2b+a = (1-b)^2-(1-a)= 0$ if and only if $0 \ =\ (1 - x)^2 -y(1-x)(\kern1.5pt y-x)\ =\ (1-x)(1-x-y^2+xy) = (1-x)(1-y)(\kern1.5pt y-x+1)$ . If $y=x-1$ , then $y+xy-x=x^2-x-1$ .

Computations above show that

$$ \begin{align*} a^2-b = \frac{(1{-}y)(1{-}x)(xy{-}x{+}y)}{(x{-}y)^2} \quad\text{and}\quad b^2-2b+a = \frac{(1{-}y)(1{-}x)(\kern1.5pt y{-}x{+}1)}{(x{-}y)^2}. \end{align*} $$

Suppose now that at least one of $x^2{-}x{-}1$ and $y{-}x{+}1$ does not vanish. If $y{-}x{+}1=0$ , then $E_{01}^{01}(a,b)=\varnothing $ and $(\kern1.5pt y{+}xy{-}x)(x{-}y{-}1)=0$ , which is a square. Hence, $y{-}x{+}1\ne 0$ may be assumed. That implies $b^2-2b+a\ne 0$ . From the associativity equation, it then follows that $(a,b){\kern-1.2pt}\in{\kern-1.2pt} \Sigma _{01}^{01}$ if and only if $(1,v){\kern-1.2pt}\in{\kern-1.2pt} E_{01}^{01}(a,b)$ , where $v{\kern-1.2pt}=(a^2-b)/ (b^2-{\kern-1.2pt}2b+a)$ . Now,

$$ \begin{align*} -v &= \frac{b-a^2}{b^2-2b+a} = \frac{y{+}xy{-}x}{x{-}y{-}1}, \\ 1-(1{-}b)v&= \frac{(x{-}y{-}1)(\kern1.5pt y{-}x)+(1{-}x)(\kern1.5pt y{+}xy{-}x)}{(x{-}y{-}1)(\kern1.5pt y{-}x)} =\frac{y(x^2{-}2x{+}y)}{(x{-}y{-}1)(x{-}y)}, \quad\text{and}\\ a{-}v &= \frac{x(1{-}y)(x{-}y{-}1) + (x{-}y)(\kern1.5pt y{+}xy{-}x)}{(x{-}y)(x{-}y{-}1)} = \frac{2xy{-}y^2{-}x}{(x{-}y)(x{-}y{-}1)}. \end{align*} $$

It remains to prove that $E_{01}^{01}(a,b)$ is nearly always nonempty if $a^2-b=b^2-2b+a=0$ . Let the latter be true. Then $b^2-2b+a=a^4-2a^2+a = a(a{-}1)(a^2{+}a{-}1)$ . Thus, $a^2{+}a{-}1=0$ . A pair $(1,v)$ is a solution to the associativity equation if $-v$ is a nonsquare, $1+(1{-}b)(-v)$ is a nonsquare, and $a-v$ is a square. Put $p_1(t) = t$ , $p_2(t) = 1+(1{-}b)t=1+(1{-}a^2)t$ , and $p_3(t) = a+t$ . A solution $(1,v)$ exists if there exists $\gamma =-v\in \mathbb {F}$ such that $\chi (p_1(\gamma ))=\chi (p_2(\gamma ))=-1$ and $\chi (p_3(\gamma )) = 1$ . Polynomials $p_2$ and $p_3$ have a common root if and only if $0=1-a+a^3$ . If this is true, then $0=a^2+a^3 = a^2(1+a)$ . This implies $a=-1$ and $0 = (-1)^2+(-1)-1 =-1$ , which is a contradiction. The list of polynomials $p_1$ , $p_2$ , $p_3$ is therefore square-free. Theorem 1.6 guarantees the existence of $\gamma $ if

$$ \begin{align*} 0<q/8 -(\!\sqrt q+1)(3/2)+\sqrt q(1-1/8)=q/8-5\sqrt q/8-3/2. \end{align*} $$

This is true for each prime power $q\geqslant 47$ .

Remark 2.8. Lemmas 2.42.7 cover all sets $S_{ij}^{rs}$ that are listed in (2-4). Up to the exceptions discussed in Remark 2.9, each of these sets is either empty, or is described by a list of polynomials, say $p_1,\ldots ,p_k\in \mathbb {F}[x,y]$ , $k\in \{2,3\}$ , and elements $\varepsilon _h\in \{-1,1\}$ , such that $(\xi ,\eta )\in S$ belongs to $S_{ij}^{rs}$ if and only if $\chi (p_h(\xi ,\eta ))=\varepsilon _h$ , for $1\leqslant h \leqslant k$ . This is because the polynomials $p_h(x,y)$ have been determined in all cases in such a way that if $p_h(\xi ,\eta )=0$ and $(\xi ,\eta ) = \Psi ((a,b))$ , then there is no $(u,v)\in E_{ij}^{rs}(a,b)$ . Indeed, if $(u,v)$ were such a solution, then u or v or $u-v-\psi _{a,b}(-v)$ or $\psi _{a,b}(u)-v$ would be equal to zero, and that is impossible, by Proposition 1.4.

Note that $(\xi ,\eta )$ was used in Remark 2.8 to emphasize the distinction between elements of S and formal variables x and y. In the remainder of the paper, elements of S will again be denoted by $(x,y)$ . The context will always be clear.

Remark 2.9. Sets $S_{01}^{01}$ and $S_{10}^{10}$ behave exceptionally in the sense that the regular behavior described in Remark 2.8 needs an assumption that $y{+}1{-}x\ne 0$ or $x^2{-}x{-}1\ne 0$ (for the set $S_{01}^{01}$ ), and that $x{+}1{-}y\ne 0$ or $y^2{-}y{-}1\ne 0$ (for the set $S_{10}^{10}$ ). There are at most two pairs $(x,y) \in S$ such that $y{+}1{-}x=0=x^2{-}x{-}1$ and at most two pairs $(x,y) \in S$ such that $x{+}1{-}y=0=y^2{-}y{-}1$ . Hence, assuming that

(2-5) $$ \begin{align} [\kern1.2pt y+1-x\ne 0\text{ or }x^2-x-1\ne 0 ] \quad \text{and} \quad [x+1-y\ne 0\text{ or }y^2-y-1\ne 0 ] \end{align} $$

causes no difficulty when estimating $\sigma (q)$ . If Condition (2-5) does not hold, then $(x,y) \in S_{01}^{01}\cup S_{10}^{10}$ if $q\geqslant 47$ , by point (i) of Lemma 2.7. In fact, if Condition (2-5) does not hold, then $(x,y) \in \bigcup S_{ij}^{rs}$ for each $q\geqslant 3$ , by [Reference Drápal and Wanless6] (compare with the application of [Reference Drápal and Wanless6, Lemma 3.4] in the proof of [Reference Drápal and Wanless6, Theorem 3.5]).

For $p(x,y)\in \mathbb {F}[x,y]$ such that $x\nmid p(x,y)$ and $y\nmid p(x,y)$ , define the reciprocal polynomial $\hat p(x,y)$ as $x^ny^mp(x^{-1},y^{-1})$ , where n and m are the degrees of the polynomial p in the variables x and y, respectively. Note that if $(x,y)\in S$ , then $\chi (\hat p(x,y))=\chi (x^ny^mp(x^{-1},y^{-1}))=\chi (p(x^{-1},y^{-1}))$ since x and y are squares. Note also that $\hat {\hat p}(x,y)= p(x,y)$ , $\widehat {1-x} = x-1$ , $\widehat {x-y}=y-x$ , and $\widehat {x-1-y}=y-xy-x$ . Set

(2-6) $$ \begin{align} \begin{aligned} &f_1(x,y)=x^2{+}y^2{-}xy{-}x, \quad \quad &f_2(x,y) = y^2{+}x^2{-}xy{-}y, \ \ \ \\ &f_3(x,y)=y^2x{+}xy{-}x^2{-}y^2,\quad \text{and} &f_4(x,y)=x^2y{+}xy{-}x^2{-}y^2. \end{aligned} \end{align} $$

Then $f_2(x,y) = f_1(\kern1.5pt y,x)$ , $f_3(x,y) = -\hat {f_1}(x,y)$ , and $f_4(x,y) = -\hat {f_1}(\kern1.5pt y,x)=-\hat {f_2}(x,y)=f_3(\kern1.5pt y,x)$ .

A description of those sets $S_{ij}^{rs}$ that do not occur in List (2-4) can be derived from Lemmas 2.42.7 by means of Proposition 2.3. As an example, consider sets $S_{00}^{10}$ and $S_{11}^{10}$ . By Lemma 2.6, $(x,y)\in S_{00}^{01}$ if $\chi (x{-}xy{-}y)=\chi (f_4(x,y) (\kern1.5pt y{-}x)) = 1$ and $\chi ((1{-}y)(x{-}y))=-1$ . By Proposition 2.3, $(x,y) \in S_{00}^{10}$ if and only if $(\kern1.5pt y,x)\in S_{00}^{01}$ , that is, if $\chi (\kern1.5pt y{-}xy{-}x)=\chi (f_3(x,y)(x{-}y))=1$ and $\chi ((1{-}x)(\kern1.5pt y{-}x))=-1$ , and $(x,y)\in S_{11}^{10}$ if $(x^{-1},y^{-1})\in S_{00}^{01}$ , that is, if $\chi (\kern1.5pt y{-}1{-}x)=\chi (f_2(x,y)(\kern1.5pt y{-}x))=1$ and $\chi ((1{-}y)(x{-}y))=-1$ .

Following this pattern, a characterization of all sets $S_{ij}^{rs}$ may be derived from Lemmas 2.42.7 by means of Proposition 2.3. This is done in Theorems 2.10 and 2.11. Since the derivation is straightforward, both of them are stated without a proof. Set

$$ \begin{gather*} \begin{aligned} &g_1(x,y)= x^2 + y -2x, \ \ \ \,\quad\qquad g_2(x,y)= y^2+x-2y,\\[-2pt]&g_3(x,y)= x^2 + y -2xy, \quad\text{and}\quad g_4(x,y) = y^2+x-2xy. \end{aligned} \end{gather*} $$

Note that $g_3(x,y)=\hat {g_1}(x,y)$ , $g_4(x,y) = \hat {g_2}(x,y)= g_3(\kern1.5pt y,x)$ , and $g_2(x,y) = g_1(\kern1.5pt y,x)$ .

Theorem 2.10. Assume that $q\equiv 1\bmod 4$ is a prime power, and that $S = S(\mathbb {F}_q)$ . Let $(x,y)\in S$ be such that Condition (2-5) holds. The sets $S_{01}^{00}$ , $S_{01}^{10}$ , $S_{01}^{11}$ , $S_{10}^{00}$ , $S_{10}^{01}$ , and $S_{10}^{11}$ are empty, and $S_{11}^{11} = S_{00}^{00}$ . Put $\varepsilon = \chi (x{-}y)$ . Then

$$ \begin{align*} (x,y)\in S_{00}^{00} \Longleftrightarrow&\, \chi(1{-}x)=\chi(1{-}y)=\varepsilon;\\ (x,y)\in S_{11}^{00} \Longleftrightarrow&\, \chi(f_1(x,y))=\chi(f_2(x,y)) = -\varepsilon; \\ (x,y)\in S_{00}^{11} \Longleftrightarrow&\, \chi(f_3(x,y))=\chi(f_4(x,y)) = -\varepsilon; \\ (x,y)\in S_{11}^{01} \Longleftrightarrow&\, \chi(1{-}x) = -\varepsilon,\ \chi(\kern1.5pt y{+}1{-}x)=1 \text{ and } \chi(f_1(x,y))=\varepsilon; \\ (x,y)\in S_{11}^{10} \Longleftrightarrow&\, \chi(1{-}y) = -\varepsilon,\ \chi(x{+}1{-}y)=1 \text{ and }\chi(f_2(x,y))=\varepsilon; \\ (x,y)\in S_{00}^{10} \Longleftrightarrow&\, \chi(1{-}x) = -\varepsilon,\ \chi(x{+}xy{-}y)=1 \text{ and } \chi(f_3(x,y))=\varepsilon; \\ (x,y)\in S_{00}^{01} \Longleftrightarrow&\, \chi(1{-}y) = -\varepsilon,\ \chi(\kern1.5pt y{+}xy{-}x)=1 \text{ and } \chi(f_4(x,y))=\varepsilon; \\[-2pt] (x,y) \in S_{01}^{01} \Longleftrightarrow&\, \chi(\kern1.5pt y{+}xy{-}x)=-\eta,\ \chi(g_1(x,y))=-\eta\varepsilon \text{ and } \chi(g_4(x,y)) = \eta\varepsilon, \\[-2pt] &\text{where }\eta = \chi(\kern1.5pt y{+}1{-}x); \text{ and} \\[-2pt] (x,y) \in S_{10}^{10} \Longleftrightarrow&\, \chi(x{+}xy{-}y)=-\eta,\ \chi(g_2(x,y))=-\eta\varepsilon \text{ and } \chi(g_3(x,y)) = \eta\varepsilon, \\[-2pt] &\text{where }\eta = \chi(x{+}1{-}y). \end{align*} $$

Theorem 2.11. Assume that $q\equiv 3\bmod 4$ is a prime power, and that $S = S(\mathbb {F}_q)$ . Let $(x,y)\in S$ be such that Condition (2-5) holds. Sets $S_{00}^{00}$ , $S_{00}^{11}$ , $S_{11}^{00}$ , and $S_{11}^{11}$ are empty, and $S_{10}^{01} = S_{01}^{10}$ . The pair $(x,y)$ belongs to a set $S_{ij}^{rs}$ listed below if and only if all values in the row of $S_{ij}^{rs}$ are nonzero squares.

$$ \begin{align*} S_{01}^{10}\colon& (1{-}y)(x{-}y) \text{ and } (1{-}x)(\kern1.5pt y{-}x);\\ S_{01}^{00}\colon& (1{-}x)(x{-}y) \text{ and } g_1(x,y)(\kern1.5pt y{-}x); \\ S_{10}^{00}\colon& (1{-}y)(\kern1.5pt y{-}x) \text{ and } g_2(x,y)(x{-}y); \\ S_{10}^{11}\colon& (1{-}x)(x{-}y) \text{ and } g_3(x,y)(x{-}y); \\ S_{01}^{11}\colon& (1{-}y)(\kern1.5pt y{-}x) \text{ and } g_4(x,y)(\kern1.5pt y{-}x); \\ S_{11}^{01}\colon& (1{-}x)(x{-}y),\ x{-}1{-}y \text{ and } (x{-}y)f_1(x,y);\\ S_{11}^{10}\colon& (1{-}y)(\kern1.5pt y{-}x),\ y{-}1{-}x \text{ and } (\kern1.5pt y{-}x)f_2(x,y);\\ S_{00}^{10}\colon& (1{-}x)(x{-}y),\ y{-}xy{-}x \text{ and } (x{-}y)f_3(x,y);\\ S_{00}^{01}\colon& (1{-}y)(\kern1.5pt y{-}x),\ x{-}xy{-}y \text{ and } (\kern1.5pt y{-}x)f_4(x,y);\\ S_{01}^{01}\colon& (x{-}xy{-}y)(x{-}1{-}y),\ g_1(x,y)(\kern1.5pt y{-}x)(x{-}1{-}y)\text{ and } g_4(x,y)(\kern1.5pt y{-}x)(x{-}1{-}y);\\ S_{10}^{10}\colon& (\kern1.5pt y{-}xy{-}x)(\kern1.5pt y{-}1{-}x),\ g_2(x,y)(x{-}y)(\kern1.5pt y{-}1{-}x)\text{ and } g_3(x,y)(x{-}y)(\kern1.5pt y{-}1{-}x). \end{align*} $$

3 Avoiding squares

Our goal is to estimate the size of the set $T=S\setminus \bigcup S_{ij}^{rs}$ . Since Theorem 1.6 requires polynomials in one variable, to determine the size of T, it is necessary to proceed by determining the sizes of slices $\{x\in \mathbb {F}:(x,c)\in T\}$ for each square $c\notin \{0,1\}$ . As a convention, $p(x,c)$ will mean a polynomial in one variable, that is, an element of $\mathbb {F}[x]$ for every $p(x,y)\in \mathbb {F}[x,y]$ .

Theorem 1.6 may be directly applied only when the product of the polynomials involved is square-free. Thus, for $p_1(x,y),\ldots ,p_k(x,y)\in \mathbb {F}[x,y]$ , it is necessary to set aside those $c\in \mathbb {F}$ for which $p_1(x,c),\ldots ,p_k(x,c)$ is not a square-free list of polynomials. An asymptotic estimate does not depend upon the number of c set aside if there is only a bounded number of them. Hence, a possible route is to express the discriminant of $p_1(x,c)\cdots p_k(x,c)$ by means of computer algebra, and then set aside those c that make the discriminant equal to zero. The route taken below is elementary and is not dependent upon a computer. In this way, the number of c to avoid is limited to 51. This is a consequence of the following statement, the proof of which is the goal of this section.

Theorem 3.1. Let $\mathbb {F}$ be a field of characteristic different from $2$ . The list of polynomials

(3-1) $$ \begin{align} \begin{aligned} &x, x{-}1, x{-}c, x{-}1{-}c, x{+}1{-}c, (1{-}c)x-c, (1{+}c)x-c, \\ &g_1(x,c), g_2(x,c), g_3(x,c), g_4(x,c), f_1(x,c), f_2(x,c), f_3(x,c), f_4(x,c) \end{aligned} \end{align} $$

is square-free if the following conditions hold:

(3-2) $$ \begin{align} \kern-5pt c&\notin \{-1,0,1,1/2,2\};\qquad\qquad\qquad\qquad\qquad\qquad\qquad \end{align} $$
(3-3) $$ \begin{align}\kern4pt c&\text{ is not a root of }x^2\pm x\pm1;\qquad\qquad\qquad\qquad\qquad\quad\quad \end{align} $$
(3-4) $$ \begin{align} \kern-1pt c&\text{ is not a root of }x^2-3x+1; \qquad\qquad\qquad\qquad\qquad\quad\end{align} $$
(3-5) $$ \begin{align} \kern-1pt c&\notin \{-1/3,-3,2/3,3/2,1/3,3,4/3,3/4\} \text{ if } \operatorname{char}(F)\ne 3;\ \end{align} $$
(3-6) $$ \begin{align} \kern-1ptc&\text{ is a root of neither }x^2{-}3x{+}3\text{ nor }3x^2{-}3x{+}1;\qquad\qquad\ \,\end{align} $$
(3-7) $$ \begin{align} c&\text{ is a root of neither }x^3{+}x^2{-}1\text{ nor }x^3{-}x{-}1;\qquad\qquad\qquad\ \end{align} $$
(3-8) $$ \begin{align} \ \ \kern-1pt c&\text{ is not a root of }x^2{+}1;\qquad\qquad\qquad\qquad\qquad\qquad\qquad\end{align} $$
(3-9) $$ \begin{align} c&\text{ is a root of neither }x^2{-}2x{+}2\text{ nor }2x^2{-}2x{+}1;\quad\qquad\qquad\end{align} $$
(3-10) $$ \begin{align} c&\text{ is a root of neither }x^3{-}x^2{+}2x{-}1\text{ nor }x^3{-}2x^2{+}x{-}1;\text{ and}\kern1pt \end{align} $$
(3-11) $$ \begin{align} c\text{ is a root of neither }x^3{-}2x^2{+}3x{-}1\text{ nor }x^3{-}3x^2{+}2x{-}1.\, \end{align} $$

The proof requires a number of steps. As an auxiliary notion, we call a list of polynomials $p_1(x,y),\ldots ,p_k(x,y)\in \mathbb {F}[x,y]$ reciprocally closed if for each $i\in \{1,\ldots ,k\}$ , both $x\nmid p_i(x,y)$ and $y\nmid p_i(x,y)$ are true, and there exist unique $j\in \{1,\ldots ,k\}$ and $\lambda \in \mathbb {F}$ such that $\hat {p_i}(x,y)= \lambda p_j(x,y)$ .

If $a=\sum a_it^i\in \mathbb {F}[t]$ is a nonzero polynomial of degree $d\geqslant 0$ , then the reciprocal polynomial $\sum a_it^{d-i}$ will be denoted by $\hat a$ , like in the case of two variables. A list $a_1(t),\ldots ,a_k(t)\in \mathbb {F}[t]$ is reciprocally closed if for each $i\in \{1,\ldots ,k\}$ , the polynomial $a_i(t)$ is not divisible by t, and there exist unique $j\in \{1,\ldots ,k\}$ and $\lambda \in \mathbb {F}$ such that $\hat {a_i}(t)= \lambda a_j(t)$ .

Lemma 3.2. Let $p_1(x,y),\ldots ,p_k(x,y)\in \mathbb {F}[x,y]$ and $a_1(t),\ldots ,a_r(t) \in \mathbb {F}[t]$ be two reciprocally closed lists of polynomials. Denote by $\Gamma $ the set of all nonzero roots of polynomials $a_1,\ldots ,a_r$ . Assume that

(3-12) $$ \begin{align} p_i(0,c)=0 \Longrightarrow c\in \Gamma \quad\text{or}\quad c=0 \end{align} $$

holds for all $i\in \{1,\ldots ,k\}$ .

Let $i,j\in \{1,\ldots ,k\}$ and $\lambda \in \mathbb {F}$ be such that $p_j(x,y) = \lambda \hat {p_i}(x,y)$ and $i\ne j$ . If

$$ \begin{align*} \gcd(p_i(x,c), p_\ell(x,c)) = 1 \end{align*} $$

holds for all nonzero $c\in \mathbb {F}\setminus \Gamma $ and all $\ell \ne i$ , $1\leqslant \ell \leqslant k$ , then

$$ \begin{align*} \gcd(p_j(x,c), p_h(x,c)) = 1 \end{align*} $$

holds for all nonzero $c\in \mathbb {F}\setminus \Gamma $ and $h\ne j$ , $1\leqslant h \leqslant k$ .

Proof. Suppose that $h\ne j$ and $c\in \mathbb {F}\setminus \Gamma $ , $c\ne 0$ , are such that $p_j(x,c)$ and $p_h(x,c)$ have a common root in $\bar {\mathbb {F}}$ , say $\gamma $ . Thus, $p_j(\gamma ,c) = p_h(\gamma ,c) = 0$ . By Condition (3-12), $\gamma \ne 0$ . Since the list $p_1(x,y),\ldots ,p_k(x,y)$ is reciprocally closed, there exists $\ell \ne i$ such that $p_\ell (x,y)$ is a scalar multiple of $\hat {p_h}(x,c)$ . Since $p_j(x,y)$ is a multiple of $\hat {p_i}(x,y)$ , we have $p_i(\gamma ^{-1},c^{-1})=0=p_\ell (\gamma ^{-1},c^{-1})$ and hence $\gcd (p_i(x,c^{-1}),p_\ell (x,c^{-1}))\ne 1$ . By the assumption on $p_i$ , this cannot be true unless $c^{-1}\in \Gamma $ . We refute the latter possibility by proving that if $c^{-1}\in \Gamma $ , then $c\in \Gamma $ . That follows straightforwardly from the assumption that the list $a_1,\ldots ,a_r$ is reciprocally closed. Indeed, since $c^{-1} \in \Gamma $ , there exists $s\in \{1,\ldots ,r\}$ such that $a_s(c^{-1}) = 0$ . There also exists $m\in \{1,\ldots ,r\}$ such that $a_m$ is a scalar multiple of $\hat {a_s}$ . Because of that, $a_m(c) = a_m((c^{-1})^{-1}) = 0$ . This implies that $c\in \Gamma $ since $\Gamma $ is defined as the set of all nonzero roots of polynomials $a_1,\ldots ,a_r$ .

If $a(t) = t-\gamma $ , $\gamma \ne 0$ , then $\hat a(t) = -\gamma (t-\gamma ^{-1})$ . Hence, the list of nonzero c that fulfill one of the conditions (3-2)–(3-11) may be considered as a set $\Gamma $ of nonzero roots of a reciprocally closed list of polynomials in one variable.

Now, remove x and $x{-}1$ from the list of polynomials (3-1) that are the input to Lemma 3.2. The remaining polynomials can be interpreted as a list $p_1(x,c), \ldots , p_{13}(x,c)$ such that $p_1(x,y), \ldots ,p_{13}(x,y)$ is a reciprocally closed list of polynomials in two variables. It is easy to verify that if $0$ or $1$ is a root of any of the polynomials $p_i(x,c)$ , $1\leqslant i \leqslant 13$ , then c fulfills Condition (3-2). Polynomials x and $x{-}1$ can be thus excised from the subsequent discussion, and Lemma 3.2 may be used.

Lemma 3.2 will also be applied to some sublists of $p_1(x,c), \ldots , p_{13}(x,c)$ that are reciprocally closed. The first such sublist is the linear polynomials occurring in (3-1) (with x and $x{-}1$ being removed). These are $x{-}c$ , $x{-}1{-}c$ , $x{+}1{-}c$ , $(1{-}c)x-c$ , $(1{+}c)x-c$ , $x-(2c{-}c^2)$ , and $(1{-}2c)x+c^2$ . The latter two polynomials are equal to $g_2(x,c)$ and $g_4(x,c)$ . The list of these linear polynomials is square-free if there are no duplicates in the set of their roots

$$ \begin{align*} R(c) = \bigg\{c,c+1,c-1,\frac c{1-c},\frac c{1+c},c(2-c), \frac{c^2}{2c-1}\bigg\}. \end{align*} $$

The reciprocity yields the following pairs of roots:

(3-13) $$ \begin{align} \bigg\{c+1,\frac c{1+c}\bigg \},\quad \bigg\{c-1,\frac c{1-c}\bigg\}, \quad\text{and}\quad \bigg\{c(2-c), \frac{c^2}{2c-1}\bigg \}. \end{align} $$

We now prove a sequence of lemmas which explore properties of the polynomials in List (3-1).

Lemma 3.3. If $c\in \mathbb {F}$ satisfies Conditions (3-2)–(3-4), then $|R(c)| = 7$ .

Proof. If (3-2) holds, then c is not equal to any other element of $R(c)$ . Any equality within the pairs in (3-13) would require that $c^2{+}c{+}1=0$ or $c^2{-}c{+}1=0$ or $2c(c{-}1)^2=0$ . By (3-2) and (3-3), none of these conditions hold. Clearly, $c{+}1\ne c{-}1$ . If $c{+}1 = c/(1{-}c)$ , then $c^2{+}c{-}1=0$ . Furthermore,

$$ \begin{align*} c{+}1=c(2{-}c) \Leftrightarrow c^2{-}c{+}1=0, \end{align*} $$

and

$$ \begin{align*} c{+}1=c^2/(2c{-}1) \Leftrightarrow c^2{+}c{-}1=0. \end{align*} $$

Hence, $c{+}1$ is not equal to any other element of $R(c)$ . By the reciprocity relationship described in Lemma 3.2, $c/(1{+}c)$ is also not equal to another element of $R(c)$ . If $c{-}1$ is equal to $c(2{-}c)$ , then $c^2{-}c{-}1 =0$ . If it is equal to $c^2/(2c{-}1)$ , then $c^2{-}3c{+}1=0$ .

Lemma 3.4. Suppose that $c\in \mathbb {F}$ satisfies Conditions (3-2) and (3-5). Then none of the polynomials $f_i(x,c)$ , $1\leqslant i \leqslant 4$ , and $g_j(x,c)$ , $j \in \{1,3\}$ , possesses a double root.

Proof. By a reciprocity argument similar to that of Lemma 3.2, only $f_1(x,c)$ , $f_2(x,c)$ , and $g_1(x,c)$ need to be tested. Discriminants of these polynomials are $(c+1)^2-4c^2 = (1-c)(3c+1)$ , $c(c-4(c-1)) = -c(3c-4)$ , and $4(1-c)$ . None of these may be zero, by the assumptions on c.

Lemma 3.5. If $c\in \mathbb {F}$ satisfies Conditions (3-2), (3-3), and (3-6), then none of the elements of $R(c)$ is a root of $g_1(x,c)$ or $g_3(x,c)$ .

Proof. By Lemma 3.2, it suffices to consider only the polynomial $h(x)=g_1(x,c)$ . Now, $h(c) = c(c{-}1)$ , $h(c\pm 1)= c^2\pm 2c+1-2(c\pm 1) +c$ is equal to $c^2+c-1$ or $c^2-3c+3$ , while

$$ \begin{align*} \frac{(1\pm c)^2}c h\bigg (\frac c{1\pm c}\bigg ) = c -2(1\pm c) + (1\pm c)^2 = c^2+c-1 \end{align*} $$

and ${c^{-1} h(c(2-c))\kern1.2pt{=}\kern1.2pt c(2-c)^2 - 2(2-c)+1\kern1.2pt{=}\kern1.2pt c^3-4c^2+6c-3\kern1.2pt{=}\kern1.2pt (c-1)(c^2-3c+3).}$ Finally,

$$ \begin{align*} \frac{(2c-1)^2}c h\bigg (\frac {c^2}{2c-1}\bigg ) &= c^3 -2c(2c-1) + (2c-1)^2 = c^3-2c+1\\& =(c-1)(c^2+c-1).\\[-34pt] \end{align*} $$

Lemma 3.6. If $c\in \mathbb {F}$ satisfies Conditions (3-2), (3-5), and (3-7)–(3-11), then none of the elements of $R(c)$ is a root of $f_i(x,c)$ for any $i=1,2,3,4$ .

Proof. The proof is very similar to that of Lemma 3.5, so we only give a summary. By Lemma 3.2, it suffices to test the polynomials $f_1(x,c)$ and $f_2(x,c)$ . Substituting an element of $R(c)$ in place of x always yields a polynomial from the indicated list. Note that $c^3-3c^2+4c-2 = (c-1)(c^2-2c+2)$ , $3c^2-5c+2 = (c-1)(3c-2)$ , and $3c^3-7c^2 +5c -1 = (c-1)^2(3c-1)$ .

Lemma 3.7. Suppose that $c\in \mathbb {F}$ satisfies Conditions (3-2) and (3-5). Then for each $i\in \{1,3\}$ , there exist at least three $j\in \{1,2,3,4\}$ such that $g_i(x,c)$ and $f_j(x,c)$ share no root in $\bar {\mathbb {F}}$ .

Proof. Because of the reciprocity, $i=1$ may be assumed. If $g_1(x,c)$ and $f_1(x,c)$ have a common root x, then $(c{+}1)x-c^2 =2x-c$ , and that yields $(c{-}1)x=c(c{-}1)$ . If $g_1(x,c)$ and $f_2(x,c)$ have a common root, then $cx -c^2+c = 2x-c$ , which means that $(c{-}2)x = (c{-}2)c$ . If $g_1(x,c)$ and $f_3(x,c)$ have a common root, then $(c^2{+}c)x -c^2 = 2x-c$ , and $(c{-}1)(c{+}2)x = (c{-}1)c$ . In such a case, $c\ne -2$ and $x = c/(c{+}2)$ . The latter value is a root of $g_1(x,c)$ if and only if $0=c^2-2c(c{+}2)+c(c{+}2)^2=c^2(c+3)$ . Here, as earlier, the solutions for c are forbidden by the conjunction of Conditions (3-2) and (3-5).

Lemma 3.8. If $c\in \mathbb {F}$ satisfies Conditions (3-2), (3-7), and (3-8), and if $1\leqslant i < j \leqslant 4$ , then $f_i(x,c)$ and $f_j(x,c)$ share no common root in $\bar {\mathbb {F}}$ .

Proof. This is obvious if $(i,j) = (1,3)$ . If $(i,j) = (2,4)$ , then $c(x^2-1)=0$ , so $x\in \{-1,1\}$ . Now, $f_2(1,c) = (c-1)^2 \ne 0$ , while $f_2(-1,c) = c^2+1 = -f_4(-1,c)$ . This is why $c^2\ne -1$ has to be assumed.

For the rest, it suffices to test pairs $(1,2)$ and $(2,3)$ , by the reciprocity described in Lemma 3.2. If $cx+x-c^2 = cx - c^2+c$ , then $x=c$ and $f_2(c) = c(c-1) \ne 0$ . If $cx -c^2 + c = cx + c^2x -c^2$ , then $x=c^{-1}$ which means that $f_2(c^{-1}) = c^{-2}-1+c^2-c = c^{-2}(c^4-c^3-c^2+1) = c^{-2}(c-1)(c^3-c-1)$ .

We can now bring all the pieces together to prove the main result of this section.

Proof of Theorem 3.1. Suppose that c fulfills Conditions (3-2)–(3-11). In addition to Lemmas 3.33.8, we also use that $g_1(x,c)$ and $g_3(x,c)$ share no root in $\bar F$ , which can be proved by a similar method to Lemma 3.8.

Let $p_1(x,c),\ldots ,p_k(x,c)$ be a nonempty sublist of (3-1) such that the product $p_1(x,c)\cdots p_k(x,c)$ is a square in $\bar {\mathbb {F}}[x]$ . Let J be the set of those $j\in \{1,2,3,4\}$ for which there exists $h\in \{1,\ldots ,k\}$ such that $f_j(x,c) = p_h(x,c)$ . The set J must be nonempty, by Lemmas 3.33.5. Since J is nonempty and Lemmas 3.4, 3.6, and 3.8 hold, there must exist $i\in \{1,3\}$ such that $g_i(x,c) = p_h(x,c)$ for some $h\in \{1,\ldots ,k\}$ . Since $g_i(x,c)$ is not a scalar multiple of $f_j(x,c)$ for $j\in J$ , we must have $|J|\geqslant 2$ , by Lemmas 3.4 and 3.5. However, even that is not viable, given Lemma 3.7.

4 When $-1$ is a nonsquare

Throughout this section, $\mathbb {F}=\mathbb {F}_q$ will be a finite field of order $q\equiv 3\bmod 4$ . We put $\Sigma = \Sigma (\mathbb {F}_q)$ and $S=S(\mathbb {F}_q)$ . By Corollary 1.3, $|S| = |\Sigma | = (q^2{-}8q{+}15)/4$ . Define $\bar S_{ij}^{rs}=S\setminus S_{ij}^{rs}$ and $T=\bigcap \bar S_{ij}^{rs}$ , where sets $S_{ij}^{rs}$ are characterized by Theorem 2.11, subject to the assumption that Condition (2-5) holds. As we can see, Condition (2-5) holds in all cases that are relevant for our calculations. The aim of this section is to estimate the number $\sigma (q) = |\{(a,b)\in \Sigma :Q_{a,b}$ is maximally nonassociative $\}|$ . By Proposition 1.5, $\sigma (q) = |T|=(q^2{-}8q{+}15)/4 - |\bigcup S_{ij}^{rs}|$ . Put

$$ \begin{align*} T_0& = \{(x,y)\in T: \chi(\kern1.5pt y-x) = 1\}; \\ T_{1,1} &= \{(x,y)\in T_0: \chi(1-y)=\chi(1-x)=1\}; \\ T_{1,-1} &= \{(x,y)\in T_0: \chi(1-y)=\chi(1-x)=-1\}; \\ T_2 &= \{(x,y)\in T_0: \chi(1-x)=-1 \text{ and } \chi(1-y) = 1\}; \end{align*} $$

and define $T_0'$ , $T^{\prime }_{1,1}$ , $T^{\prime }_{1,-1}$ , and $T^{\prime }_2$ by exchanging x and y. For example, this means that $T_0'=\{(x,y)\in T:\chi (\,y-x) = -1\}$ . Put also $T_1=T_{1,1}\cup T_{1,-1}$ and $T_1'=T^{\prime }_{1,1}\cup T^{\prime }_{1,-1}$ .

Lemma 4.1. $T=T_0\cup T_0'$ , $T_0= T_1\cup T_2$ , $T_0' = T_1' \cup T_2'$ , $T_1=T_{1,1}\cup T_{1,-1}$ , and $T_1'=T^{\prime }_{1,1}\cup T^{\prime }_{1,-1}$ . All of these unions are unions of disjoints sets.

Both of the mappings $(x,y)\mapsto (\kern1.5pt y,x)$ and $(x,y)\mapsto (x^{-1},y^{-1})$ permute T. Both of them exchange $T_1$ and $T_1'$ , and $T_2$ and $T_2'$ . Furthermore, $(x,y)\mapsto (\kern1.5pt y,x)$ sends $T_{1,\varepsilon }$ to $T^{\prime }_{1,\varepsilon }$ , while $(x,y)\mapsto (x^{-1},y^{-1})$ sends $T_{1,\varepsilon }$ to $T^{\prime }_{1,-\varepsilon }$ , for both $\varepsilon \in \{-1,1\}$ .

Proof. Recall that by our definition of S, we have $1\notin \{x,y\}$ and $x\ne y$ for all $(x,y)\in T$ . By Proposition 2.3, both $(x,y) \mapsto (\kern1.5pt y,x)$ and $(x,y)\mapsto (x^{-1},y^{-1})$ permute T. The effects of these two mappings are simple to verify. Note, for example, that if $\varepsilon = \chi (x{-}y)$ , then $\chi (x^{-1}-y^{-1}) = \chi (\kern1.5pt y{-}x) = -\varepsilon $ .

To see that $T_0 = T_1\cup T_2$ , note that there is no $(x,y) \in T_0$ with $\chi (1{-}x)=1$ and $\chi (1{-}y)=-1$ . Indeed, each such $(x,y)$ belongs to $S_{01}^{10}$ .

For $c\in \mathbb {F}_q$ , define $t_2(c)=|\{x\in \mathbb {F}_q:(x,c)\in T_2\}|$ and $t_{1,1}(c)=|\{x\in \mathbb {F}_q:(x,c)\in T_{1,1}\}|$ . In the next two propositions, we seek estimates of these quantities. In both results, we assume that c fulfills Condition (3-3). Observe that under this assumption, $c^2{-}c{-}1\ne 0$ and for all $x\in \mathbb {F}_q$ , either $x\ne c{+}1$ or $x^2{-}x{-}1\ne 0$ , and therefore Condition (2-5) holds for $(x,y)=(x,c)$ . This will enable us to use Theorem 2.11.

Proposition 4.2. Suppose that c and $1-c$ are both nonzero squares in $\mathbb {F}_q$ and that c fulfills Conditions (3-2)–(3-11). Then,

$$ \begin{align*}|t_2(c)-25\cdot2^{-15}q|\leqslant (\!\sqrt q+1)165/2+21.\end{align*} $$

Proof. We estimate $t_2(c)$ by characterizing the pairs $(x,c)$ in $T_2$ . For a fixed c, there are at most 21 values of x that are roots of any of the polynomials in List (3-1). So at the cost of adding a term equal to 21 to our eventual bound, we may assume for the remainder of the proof that x is not a root of any polynomial in List (3-1). Then $\chi (x)=1=\chi (c)$ , since $(x,c) \in S$ and $\chi (1{-}x)=\chi (c{-}1)=\chi (x{-}c)=-1$ by the definition of $T_2$ .

From the definitions of $\bar S_{01}^{00}$ , $\bar S_{10}^{00}$ , $\bar S_{10}^{11}$ , and $\bar S_{01}^{11}$ , we deduce that $\chi (g_1(x,c))=\chi (g_4(x,c))=-1$ and $\chi (g_2(x,c))=\chi (g_3(x,c))=1$ . Now, from $(x,c)\in \bar S_{01}^{01}$ , we deduce that either

(4-1) $$ \begin{align} \chi(x{-}1{-}c) = 1 \quad\text{or}\quad \chi(x-xc-c)=1. \end{align} $$

In the former case, the requirement for $(x,c)$ to be in $\bar S_{11}^{01}$ forces $\chi (f_1(x,c))=1$ , whilst in the latter case, the requirement for $(x,c)$ to be in $\bar S_{00}^{01}$ forces $\chi (f_4(x,c))=-1$ . Of course, it is also possible that both alternatives in Condition (4-1) are realized.

Analogously, $(x,c)$ belongs to $\bar S_{10}^{10}$ , so

(4-2) $$ \begin{align} \chi(c{-}1{-}x) = 1 \quad\text{or}\quad \chi(c-xc-x)=1. \end{align} $$

In the former case, the requirement for $(x,c)$ to be in $\bar S_{11}^{10}$ forces $\chi (f_2(x,c))=-1$ , whilst in the latter case, the requirement for $(x,c)$ to be in $\bar S_{00}^{10}$ forces $\chi (f_3(x,c))=1$ .

Suppose that $i=1,\ldots ,9$ indexes the nine possibilities for the quadruple

(4-3) $$ \begin{align} (\chi(c{-}1{-}x),\quad\chi(c-xc-x),\quad\chi(x{-}1{-}c),\quad\chi(x-xc-c)) \end{align} $$

that are consistent with Conditions (4-1) and (4-2). In each case, let $J_i$ denote the subset of $\{1,2,3,4\}$ consisting of those indices j for which $\chi (f_j)$ is forced. Combining the above observations, we see that there will be $4,4,1$ cases, respectively, in which $|J_i|=2,3,4$ .

By Theorem 3.1 and our assumptions, the list of polynomials (3-1) is square-free. We can hence apply Theorem 1.6 for each of the nine possibilities for the quadruple (4-3), prescribing $\chi (p(x))$ for each polynomial $p(x)$ in List (3-1) except for any $f_j$ with $j\notin J_i$ . We find that

$$ \begin{align*} &|t_2(c)-4\cdot2^{-13}q-4\cdot2^{-14}q-1\cdot2^{-15}q|\\ &\quad\leqslant (\!\sqrt q+1)(4\cdot17+4\cdot19+1\cdot21)/2+21. \end{align*} $$

The result follows.

Proposition 4.3. Suppose that c and $1-c$ are both nonzero squares in $\mathbb {F}_q$ and that c fulfills Conditions (3-2)–(3-11). Then,

$$ \begin{align*}|t_{1,1}(c)-25\cdot2^{-11}q|\leqslant 96(\!\sqrt q+1)+21.\end{align*} $$

Proof. The proof is similar to that of Proposition 4.2. Let us consider under which conditions a pair $(x,c)$ belongs to $T_{1,1}$ , where x is not a root of any polynomial in List (3-1). For $(x,c)$ to belong to each of the sets $\bar S_{01}^{10}$ , $\bar S_{01}^{00}$ , $\bar S_{10}^{00}$ , $\bar S_{10}^{11}$ , $\bar S_{01}^{11}$ , $\bar S_{11}^{01}$ , and $\bar S_{00}^{10}$ , it is necessary and sufficient that $\chi (x)=\chi (c)=\chi (1-c)=\chi (1-x)=\chi (c-x)=\chi (g_2(x,c)) = 1$ and $\chi (g_4(x,c)) = -1$ . Also for $(x,c)$ to be in $\bar S_{11}^{10}$ and $\bar S_{10}^{10}$ requires that

$$ \begin{align*} &\chi(c{-}1{-}x) = -1\quad\text{or}\quad \chi(f_2(x,c))=-1; \quad\text{and}\\ &\chi(c{-}1{-}x) = 1\quad\text{or}\quad \chi(g_3(x,c))=-1 \quad\text{or}\quad \chi(c-xc-x)=1. \end{align*} $$

Both of these conditions are satisfied whenever $\chi (c{-}1{-}x) {\kern-1pt}={\kern-1.5pt} -{\kern-1.2pt}1$ and $\chi (c-xc-x){\kern-1pt}={\kern-1pt}1$ . Each of the other three possibilities for the pair $(\,\chi (c{-}1{-}x),\chi (c-xc-x))$ forces exactly one of the conditions $\chi (f_2(x,c))=-1$ or $\chi (g_3(x,c))=-1$ to hold.

Similarly, for $(x,c)$ to be in $\bar S_{00}^{01}$ and $\bar S_{01}^{01}$ requires that

$$ \begin{align*} &\chi(x{-}xc{-}c) = -1\quad\text{or}\quad \chi(f_4(x,c))=-1; \quad\text{and}\\ &\chi(x{-}1{-}c) = 1\quad\text{or}\quad \chi(g_1(x,c))=1 \quad\text{or}\quad \chi(x-xc-c)=1. \end{align*} $$

Both of these conditions are satisfied whenever $\chi (x{-}1{-}c) = 1$ and $\chi (x-xc-c)=-1$ . Each of the other three possibilities for the pair $(\chi (x{-}1{-}c),\chi (x-xc-c))$ forces exactly one of the conditions $\chi (f_4(x,c))=-1$ or $\chi (g_1(x,c))=1$ to hold.

Suppose that $i=1,\ldots ,16$ indexes the 16 possibilities for the quadruple (4-3). Let $K_i$ denote the subset of $\{f_2,f_4,g_1,g_3\}$ consisting of those polynomials p for which $\chi (p)$ is forced. Combining the above observations, we see that there will be $1,6,9$ cases, respectively, in which $|K_i|=0,1,2$ . The values of $\chi (p)$ for $p\in \{f_1,f_2,f_3,f_4,g_1,g_3\}\setminus K_i$ are unconstrained. Hence, by applying Theorem 1.6 for each of the 16 possibilities for the quadruple (4-3), we find that

$$ \begin{align*} &|t_{1,1}(c)-1\cdot2^{-9}q-6\cdot2^{-10}q-9\cdot2^{-11}q|\\ &\quad\leqslant (\!\sqrt q+1)(1\cdot9+6\cdot11+9\cdot13)/2+21. \end{align*} $$

The result follows.

We are now ready to prove the main result for this section.

Theorem 4.4. For $q\equiv 3\bmod 4$ ,

$$ \begin{align*} |\sigma(q)-25(2^{-11}{+}2^{-16}) q^2|<138 q^{3/2} + 235q. \end{align*} $$

Proof. By [Reference Evans7, Theorem 10.5], there are $(q-3)/4$ choices for $c\in \mathbb {F}_q$ such that both c and $1-c$ are nonzero squares. At most $1+4+1+3+2+3+0+2+3+3=22$ of these choices do not fulfill Conditions (3-2)–(3-11) of Theorem 3.1. (To see this, note that $\chi (-1)=-1$ and that if $\chi (c)=\chi (1-c)=1$ , then ${\chi (1-1/c)=-1}$ , which means that in any pair of reciprocal field elements, at most one of the elements will be a viable choice for c. This is particularly useful because of the many polynomials in Theorem 3.1 which form reciprocal pairs.) Each c that fails one of Conditions (3-2)–(3-11) contributes between 0 and $(q-3)/2$ elements $(x,c)$ to T. Putting these observations together with Propositions 4.2 and 4.3, we have that

$$ \begin{align*} &||T_2|-25\cdot2^{-15}q(q-3)/4|\\ &\quad\leqslant165(\!\sqrt{q}+1)(q-3)/8+21(q-3)/4+22(q-3)/2,\\ &||T_{1,1}|-25\cdot2^{-11}q(q-3)/4|\\ &\quad\leqslant96(\!\sqrt{q}+1)(q-3)/4+21(q-3)/4+22(q-3)/2. \end{align*} $$

Next, notice that it follows from Lemma 4.1 that $|T_{1,1}|=|T^{\prime }_{1,1}|=|T_{1,-1}|=|T^{\prime }_{1,-1}|$ and $|T_2|=|T^{\prime }_2|$ and that T is the disjoint union of $T_{1,1}$ , $T^{\prime }_{1,1}$ , $T_{1,-1}$ , $T^{\prime }_{1,-1}$ , $T_2$ , and $T^{\prime }_2$ . Hence,

$$ \begin{align*} ||T|-25(2^{-16}+2^{-11})q(q-3)| &\leqslant(q-3)[(165/4+96)(\!\sqrt{q}+1)+195/2]\\ &\leqslant q[138\sqrt{q}+939/4]. \end{align*} $$

The result then follows from simple rearrangement.

Corollary 4.5. Let q run through all prime powers that are congruent to $3 \bmod 4$ . Then $\lim \sigma (q)/q^2 = 25(2^{-11}{+}2^{-16})$ .

5 When $-1$ is a square

Throughout this section, $\mathbb {F}=\mathbb {F}_q$ will be a finite field of order $q\equiv 1\bmod 4$ . Our broad strategy for obtaining an estimate of $\sigma (q)$ is similar to that used in Section 4. For $i,j,r,s\in \{0,1\}$ , define $\bar S_{ij}^{rs}=S\setminus S_{ij}^{rs}$ and put $T = \bigcap \bar S_{ij}^{rs}$ . The set T will again be expressed as a disjoint union of sets, the size of each of which can be estimated by means of the Weil bound. Let $\varepsilon =\chi (x-y)$ and define

$$ \begin{align*} T_1 &= \{(x,y)\in T: \chi(1{-}x)=\chi(1{-}y)=-\varepsilon\};\\ T_2 &= \{(x,y)\in T: \chi(1{-}x) = \varepsilon\text{ and } \chi(1{-}y) = -\varepsilon\}; \quad\text{and}\\ T_2' &= \{(x,y)\in T: \chi(1{-}x) = -\varepsilon\text{ and } \chi(1{-}y) = \varepsilon\}. \end{align*} $$

If $\rho _j\in \{-1,1\}$ for $1\leqslant j \leqslant 4$ , then define

$$ \begin{align*} R(\,\rho_1,\rho_2,\rho_3,\rho_4)\ &=\{(x,y)\in T: \rho_j = \varepsilon\,\chi(f_j(x,y)) \text{ for } 1\leqslant j \leqslant 4\};\\ R_1(\,\rho_1,\rho_2,\rho_3,\rho_4)&=T_1\cap R(\,\rho_1,\rho_2,\rho_3,\rho_4); \quad\text{and } \\ R_2(\,\rho_1,\rho_2,\rho_3,\rho_4)&= T_2\cap R(\,\rho_1,\rho_2,\rho_3,\rho_4). \end{align*} $$

We write $R(\,\bar \rho )$ as a shorthand for $R(\,\rho _1,\rho _2,\rho _3,\rho _4)$ , where $\bar \rho = (\,\rho _1,\rho _2,\rho _3,\rho _4)$ . We record the following basic facts about the sets just defined.

Lemma 5.1. Suppose $\rho _j\in \{-1,1\}$ for $1\leqslant j\leqslant 4$ . The map $(x,y)\mapsto (\kern1.5pt y,x)$ induces bijections that show that $|R_1(\,\rho _1,\rho _2,\rho _3,\rho _4)|=|R_1(\,\rho _2,\rho _1,\rho _4,\rho _3)|$ and $|T_2|=|T^{\prime }_2|$ . Hence, $|T|=|T_1|+2|T_2|$ . The map $(x,y)\mapsto (x^{-1},y^{-1})$ induces bijections that show that $|R_i(\,\rho _1,\rho _2,\rho _3,\rho _4)|=|R_i(\,\rho _3,\rho _4,\rho _1,\rho _2)|$ for $i\in \{1,2\}$ . Also, $R(\,\rho _1,\rho _2,-1,-1)=R(-1,-1,\rho _3,\rho _4)=\varnothing $ .

Proof. By Proposition 2.3, we know that $(x,y)\mapsto (x^{-1},y^{-1})$ permutes each of the sets $T_1$ , $T_2$ , and $T_2'$ , while $(x,y) \mapsto (\kern1.5pt y,x)$ permutes $T_1$ and swaps $T_2$ and $T_2'$ . This gives us a bijection between $T_2$ and $T_2'$ . Note also that $T=T_1\cup T_2\cup T_2'$ since $\chi (1{-}x)=\chi (1{-}y)=\varepsilon $ implies that $(x,y)\in S_{00}^{00}$ . Hence, $|T|=|T_1|+2|T_2|$ . The remaining claims about bijections follow directly from the definitions of $f_1$ , $f_2$ , $f_3$ , and $f_4$ in Equations (2-6).

If $(x,y)\in R(\,\rho _1,\rho _2,-1,-1)$ , then $\chi (f_j(x,y))=-\varepsilon $ for both $j\in \{3,4\}$ . That implies $(x,y)\in S_{00}^{11}$ , by Lemma 2.4. Hence, $R(\,\rho _1,\rho _2,-1,-1)=\varnothing $ and our bijection gives $R(-1,-1,\rho _3,\rho _4)=\varnothing $ .

Our aim is to use the $|R_i(\,\bar \rho )|$ to estimate the size of T. We should note that T may be a proper superset of $\bigcup _{\bar \rho }R(\,\bar \rho )$ . The (small) difference arises from the contribution to T from roots of the polynomials $f_i$ (this contribution will be accounted for later, when all roots are included as an error term in our bounds). Lemma 5.1 reduces the number of $|R_i(\,\bar \rho )|$ that we need to estimate to only those $\bar \rho $ shown in Table 1. The final column of that table shows the multiplicity $\mu $ that we need to use for each $|R_i(\,\bar \rho )|$ to obtain $|\bigcup _{\bar \rho }R_i(\,\bar \rho )|$ . For example, $R_1(1,1,1,-1)$ has $\mu =4$ because Lemma 5.1 tells us that

$$ \begin{align*}|R_1(1,1,1,-1)|=|R_1(1,1,-1,1)|=|R_1(1,-1,1,1)|=|R_1(-1,1,1,1)|.\end{align*} $$

Table 1 Values of $s(i,\bar \rho )$ and associated parameters.

Lemma 5.2. Suppose that Condition (2-5) holds.

  1. (i) If $\chi (x{-}1{-}y)=\chi (x{-}xy{-}y)$ , then $(x,y)\notin S_{01}^{01}$ . If $\chi ((x{-}1{-}y)(x{-}xy{-}y))=-1$ , then there exist unique $\lambda _1,\lambda _4\in \{-1,1\}$ such that $(x,y)\in S_{01}^{01}$ if and only if $\chi (g_j(x,y))=\lambda _j$ for $j\in \{1,4\}$ .

  2. (ii) If $\chi (\kern1.5pt y{-}1{-}x)= \chi (\kern1.5pt y{-}xy{-}x)$ , then $(x,y)\notin S_{10}^{10}$ . If $\chi ((\kern1.5pt y{-}1{-}x)(\kern1.5pt y{-}xy{-}x))=-1$ , then there exist unique $\lambda _2,\lambda _3\in \{-1,1\}$ such that $(x,y)\in S_{10}^{10}$ if and only if $\chi (g_j(x,y))=\lambda _j$ for $j\in \{2,3\}$ .

Proof. Only case (i) needs to be proved, because of the $x\leftrightarrow y$ symmetry. If $\chi (x{-}1{-}y)\kern1.2pt{=}\kern1.2pt \chi (x{-}xy{-}y)$ , then $(x,y) \kern1.2pt{\notin}\kern1.2pt S_{01}^{01}$ by Theorem 2.10. If ${\chi ((x{-}1{-}y) (x{-}xy{-}y))\kern1.2pt{=}\kern1.2pt{-}\kern0.5pt 1}$ , then exactly one choice of $(\,\chi (g_1(x,y)),\chi (g_4(x,y))$ makes $(x,y)$ an element of $S_{01}^{01}$ , again by Theorem 2.10.

Consider $(x,y)\in R_i(\,\bar \rho )$ for a particular $i\in \{1,2\}$ and $\bar \rho $ . Membership of $R_i(\,\bar \rho )$ implies values for $\chi (1{-}x)$ , $\chi (1{-}y)$ , and $\rho _j$ for $1\leqslant j \leqslant 4$ . Also, $(x,y)$ must belong to the sets $\bar S_{11}^{01}$ , $\bar S_{11}^{10}$ , $\bar S_{00}^{10}$ , and $\bar S_{00}^{01}$ , which implies that some of the elements $x{-}1{-}y$ , $y{-}1{-}x$ , $y{-}xy{-}x$ , and $x{-}xy{-}y$ have to be nonsquares, while for the others no such condition is imposed. Record this into a quadruple $s(i,\bar \rho )=(s_1,s_2,s_3,s_4)$ , where $s_j \in \{0,1\}$ for $1\leqslant j \leqslant 4$ . Here, $s_1=1$ , $s_2=1$ , $s_3=1$ , and $s_4=1$ mean, respectively, that the presence of $(x,y)$ in $R_i(\,\bar \rho )$ forces $x{-}1{-}y$ , $y{-}1{-}x$ , $y{-}xy{-}x$ , and $x{-}xy{-}y$ to be nonsquare. For each i and $\bar \rho $ , the value of the vector $s(i,\bar \rho )$ is given in Table 1. Furthermore, $k_i(\,\bar \rho )$ will be used to denote the number of indices j for which $s_j=1$ in $s(i,\bar \rho )$ .

As an example, consider $R_2(1,1,1,1)$ . In this case, $\chi (f_j(x,y))=\varepsilon $ for all $j\in \{1,2,3,4\}$ . Since $\chi (1{-}x) = \varepsilon $ , $(x,y)\notin S_{11}^{01}$ and $(x,y) \notin S_{00}^{10}$ . Therefore, $s_1=s_3=0$ . Since $\chi (1{-}y)=-\varepsilon $ , we must have $\chi (\kern1.5pt y{-}1{-}x)=-1$ if $(x,y)$ is to belong to $\bar S_{11}^{10}$ . Therefore, $s_2=1$ . Similarly, $s_4=1$ .

For $c\in \mathbb {F}_q$ , define $t_1(c)=|\{x\in \mathbb {F}_q:(x,c)\in T_1\}|$ and $t_2(c)=|\{x\in \mathbb {F}_q:(x,c)\in T_2\}|$ . In the next two propositions, we seek estimates of these quantities. As in Section 4, we assume that Condition (3-3) holds which means that Condition (2-5) applies, enabling us to use Theorem 2.10 and Lemma 5.2.

Proposition 5.3. Suppose that c is a square satisfying Conditions (3-2)–(3-11). Then,

$$ \begin{align*}|t_1(c)-169\cdot2^{-14}q|\leqslant(\!\sqrt{q}+1)1161/2+21.\end{align*} $$

Proof. Fix c satisfying Conditions (3-2)–(3-11) and consider a candidate $(x,c)$ for membership in $T_1$ . As we did in Proposition 4.2, we include the term 21 in our bound and then for the remainder of the proof, we may assume that x is not a root of any polynomial in List (3-1).

Our goal is to estimate the c-slice of $R_1(\,\bar \rho )$ for each $\bar \rho $ . We start with a list of polynomials that guarantee the presence of $(x,c)$ in $\bar S_{00}^{00}$ , $\bar S_{11}^{00}$ , $\bar S_{00}^{11}$ , $\bar S_{11}^{01}$ , $\bar S_{11}^{10}$ , $\bar S_{00}^{10}$ , and $\bar S_{00}^{01}$ . These polynomials are x, $1{-}x$ , $c{-}x$ , $f_j(x,c)$ , $1\leqslant j \leqslant 4$ , and those of $x{-}1{-}c$ , $c{-}1{-}x$ , $c{-}cx{-}x$ , and $x{-}cx{-}c$ for which the corresponding value of $s_j$ in $s(i,\bar \rho )$ is equal to $1$ . In this way, we obtain a list of $7+k_1(\,\bar \rho )$ polynomials of cumulative degree $11+k_1(\,\bar \rho )$ , for $k_1(\,\bar \rho )$ as shown in Table 1.

It only remains to ensure that $(x,c)$ is in $\bar S_{01}^{01}$ and $\bar S_{10}^{10}$ . The c-slice of $R_1(\,\bar \rho )$ forks into several disjoint subsets, according to Lemma 5.2. The forking induced by $\bar S_{01}^{01}$ depends upon $(s_1,s_4)$ , while the forking induced by $\bar S_{10}^{10}$ depends upon $(s_2,s_3)$ . It is thus possible to describe only the former and obtain the latter by exploiting the $(x,y)\leftrightarrow (x^{-1},y^{-1})$ symmetry between $\bar S_{01}^{01}$ and $\bar S_{10}^{10}$ .

If $s_1=s_4= 1$ , then there is no forking since this suffices to conclude that $(x,y)\notin S_{01}^{01}$ .

If $s_1+s_4 = 1$ , then one of $\chi (x{-}1{-}c)=-1$ and $\chi (x{-}xc{-}c)=-1$ is mandated, and there are four forks. One of them specifies the character of only one extra polynomial to ensure that $\chi (x{-}1{-}c)=\chi (x{-}xc{-}c)=-1$ . Each of the other three forks imposes restrictions on three polynomials, as it establishes first that $\chi (x{-}1{-}c)=-\chi (x{-}xc{-}c)$ and then imposes values on $\chi (g_1(x,c))$ and $\chi (g_4(x,c))$ . By Lemma 5.2, there are three possibilities to consider for the pair $(\chi (g_1(x,c)),\chi (g_4(x,c)))$ , which thus give us the three forks.

The forking of the case $s_1+s_4 = 1$ will be recorded by $(1,1)\mid (3,4)^3$ . This means that the first fork needs one additional polynomial of degree one, while the other three forks need three polynomials of cumulative degree $4$ .

If $s_1=s_4=0$ then there are seven forks. One imposes that $\chi ((x{-}1{-}c) (x{-}xc{-}c))=1$ (which ensures that $\chi (x{-}1{-}c)=\chi (x{-}xc{-}c)$ ), while each of the other six establishes first the (different) values of $\chi (x{-}1{-}c)$ and $\chi (x{-}xc{-}c)$ , and then the values of $\chi (g_1(x,c))$ and $\chi (g_4(x,c))$ . Symbolically, this gives $(1,2)\mid (4,5)^6$ .

Let us use $\bullet $ to express the composition of two independent forkings. Thus,

$$ \begin{align*} (k_1,d_1)^{m_1}\mid\cdots \mid(k_a,d_a)^{m_a} \bullet (k^{\prime}_1,d^{\prime}_1)^{m^{\prime}_1}\mid \cdots \mid (k^{\prime}_b,d^{\prime}_b)^{m^{\prime}_b} \end{align*} $$

is a list of alternatives $(k_i+k_j', d_i+d_j')^{m_im^{\prime }_j}$ , where $1\leqslant i \leqslant a$ and $1\leqslant j \leqslant b$ .

Our observations above allow us to symbolically describe polynomial lists for each of the sets $R_1(\,\bar \rho )$ . We have

$$ \begin{align*} R_1(1,1,1,1)\colon &(11,15), \\ R_1(1,1,1,-1)\colon &(10,14)\bullet (1,1)\mid(3,4)^3 = (11,15)\mid(13,18)^3, \\ R_1(1,-1,1,-1)\colon & (9,13)\bullet (1,1)\mid(3,4)^3 \bullet (1,1)\mid (3,4)^3 = (11,15)\mid (13,18)^6 \mid (15,21)^9, \\ R_1(1,-1,-1,1)\colon & (9,13)\bullet (1,2)\mid(4,5)^6 = (10,15)\mid (13,18)^6. \end{align*} $$

Combining this information with the last column of Table 1, we reach a symbolic description of the polynomials contributing to $t_1(c)$ that contains $(10,15)$ with multiplicity $2$ , $(11,15)$ with multiplicity $1+4+2=7$ , $(13,18)$ with multiplicity $4\cdot 3 + 2\cdot 6+2\cdot 6 = 36$ , and $(15,21)$ with multiplicity $2\cdot 9=18$ . In each case, the list of polynomials involved is square-free, by Theorem 3.1. Hence, we may apply Theorem 1.6 to find that

$$ \begin{align*} |t_1(c)-\alpha_1q|\leqslant(\!\sqrt{q}+1)D_1/2+21, \end{align*} $$

where $\alpha _1 = 2\cdot 2^{-10}+7\cdot 2^{-11} + 36\cdot 2^{-13} + 18\cdot 2^{-15}=169\cdot 2^{-14}$ , and the cumulative degree of our polynomials is $D_1=9\cdot 15+36\cdot 18+18\cdot 21=1161$ .

Proposition 5.4. Suppose that c is a square satisfying Conditions (3-2)–(3-11). Then,

$$ \begin{align*}|t_2(c)-49\cdot2^{-11}q|\leqslant(\!\sqrt{q}+1)4455/2+21.\end{align*} $$

Proof. The proof follows the same lines as that of Proposition 5.3. The symbolic description of the forks is

$$ \begin{align*} &R_2(1,1,1,1)\colon (9,13)\bullet (1,1)\mid(3,4)^3 \bullet (1,1)\mid(3,4)^3\\ &\quad= (11,15)\mid (13,18)^6 \mid (15,21)^9, \\ &R_2(1,1,1,-1)\colon (8,12)\bullet (1,1)\mid(3,4)^3 \bullet (1,2)\mid(4,5)^6\\ &\quad= (10,15)\mid (12,18)^3\mid (13,18)^6 \mid (15,21)^{18}, \\ &R_2(1,-1,1,-1)\colon (7,11)\bullet (1,2)\mid(4,5)^6\bullet (1,2)\mid(4,5)^6\\ &\quad= (9,15)\mid (12,18)^{12} \mid (15,21)^{36}, \\ &R_2(1,-1,-1,1)\colon (8,12)\bullet (1,1)\mid(3,4)^3 \bullet (1,2)\mid(4,5)^6\\ &\quad= (10,15)\mid (12,18)^3\mid (13,18)^6 \mid (15,21)^{18}, \\ &R_2(1,1,-1,1)\colon (9,13) \bullet (1,1)\mid(3,4)^3 \bullet(1,1)\mid(3,4)^3\\ &\quad= (11,15)\mid (13,18)^6 \mid (15,21)^9, \\ &R_2(-1,1,-1,1)\colon (9,13) \bullet (1,1)\mid(3,4)^3 \bullet(1,1)\mid(3,4)^3\\ &\quad= (11,15)\mid (13,18)^6 \mid (15,21)^9. \end{align*} $$

Combining this information with the last column of Table 1, we reach a symbolic description of the polynomials contributing to $t_2(c)$ that contains $(9,15)$ with multiplicity $1$ , $(10,15)$ with multiplicity $2\cdot 1+2\cdot 1=4$ , $(11,15)$ with multiplicity $1+2\cdot 1+1=4$ , $(12,18)$ with multiplicity $2\cdot 3 + 12 + 2\cdot 3 = 24$ , and $(13,18)$ with multiplicity $6+2\cdot 6+2\cdot 6+2\cdot 6+6 = 48$ , and $(15,21)$ with multiplicity $9+2\cdot 18+36+2\cdot 18+2\cdot 9+9=144$ . Combining Theorem 3.1 and Theorem 1.6, we find that

$$ \begin{align*} |t_2(c)-\alpha_2q|\leqslant(\!\sqrt{q}+1)D_2/2+21, \end{align*} $$

where $\alpha _2 = 2\cdot 2^{-9}+4\cdot 2^{-10}+4\cdot 2^{-11} +24\cdot 2^{-12}+48\cdot 2^{-13} + 144\cdot 2^{-15}=49\cdot 2^{-11}$ , and the cumulative degree of our polynomials is $D_2=9\cdot 15+72\cdot 18+144\cdot 21=4455$ .

We are now ready to prove the main result for this section.

Theorem 5.5. If $q\equiv 1\bmod 4$ , then

$$ \begin{align*} |\sigma(q)-953\cdot 2^{-15}\,q^2|<2518q^{3/2}+2623q. \end{align*} $$

Proof. There are $(q-3)/2$ choices for a square $c\in \mathbb {F}_q$ satisfying $c\notin \{0,1\}$ . At most, $49$ of these choices do not fulfill Conditions (3-2)–(3-11) of Theorem 3.1. Each c that fails one of Conditions (3-2)–(3-11) contributes between 0 and $(q-3)/2$ elements $(x,c)$ to T. Putting these observations together with Proposition 5.3 and Proposition 5.4, we have that

$$ \begin{align*} ||T_1|-169\cdot2^{-14}q(q-3)/2| &\leqslant1161(\!\sqrt{q}+1)(q-3)/4+21(q-3)/2+49(q-3)/2,\\ ||T_2|-49\cdot2^{-11}q(q-3)/2| &\leqslant4455(\!\sqrt{q}+1)(q-3)/4+21(q-3)/2+49(q-3)/2. \end{align*} $$

Next, by Lemma 5.1, we know that $|T|=|T_1|+2|T_2|$ , so

$$ \begin{align*} &||T|-(169\cdot2^{-15}+49\cdot2^{-11})q(q-3)|\\ &\quad\leqslant(q-3)[(1161/4+ 4455/2)(\!\sqrt{q}+1)+105]\\ &\quad<q[2518\sqrt{q}+10491/4]. \end{align*} $$

The result then follows from simple rearrangement.

Corollary 5.6. Let q run through all prime powers that are congruent to $1 \bmod 4$ . Then $\lim \sigma (q)/q^2 = 953/2^{15}$ .

6 Concluding remarks

Theorems 4.4 and 5.5 give formulas that can be used as estimates of $\sigma (q)$ for large q. We did not work hard to optimize the constants in the bounds. Even if we had, the number of applications of the Weil bound is too big to allow the estimates to be useful for small q. However, for large q, our results show that maximally nonassociative quasigroups can be generated via random sampling. If $(a,b)$ is chosen uniformly at random from $\Sigma (\mathbb {F}_q)$ , then it can quickly be checked (using $O(1)$ evaluations of $\chi $ , as shown in Theorems 2.10 and 2.11) whether $Q_{a,b}$ is maximally nonassociative, and the probability of success is bounded away from zero. We thus have a computationally realistic method of generating random maximally nonassociative quasigroups of large orders. This might be of interest, given the cryptographic applications [Reference Grošek and Horák10].

The approach that we have used in this paper might be adapted to resolve [Reference Drápal and Lisoněk3, Conjecture 5.10], which is concerned with the density of parameters that yield a maximally nonassociative quasigroup when constructing such a quasigroup by means of a nearfield.

In a future paper, we plan to consider how many different isomorphism classes are represented by the maximally nonassociative quasigroups generated from quadratic orthomorphisms. To answer this question requires theory to be developed on when different quadratic orthomorphisms generate isomorphic quasigroups (which is a question of independent interest). Some limited circumstances where different orthomorphisms create isomorphic quasigroups are already known [Reference Wanless16]. In particular, we know that $Q_{a,b}\cong Q_{b,a}$ (see Lemma 2.1(i)), and that $Q_{a,b}\cong Q_{a^p,b^p}$ in any field of characteristic p. We expect these to generate the only isomorphisms that affect the asymptotics. In other words, we conjecture that the number of quasigroups (up to isomorphism) is asymptotic to $\sigma (q)/(2\log _pq)$ , where $\sigma (q)$ is estimated by Theorems 4.4 and 5.5.

In our analysis leading to our main results, we discarded all roots of the polynomials in List (3-1). Bajtoš [Reference Bajtoš1] has investigated these cases by finding the asymptotic number of solutions to $t(x,y) = 0$ when t is one of the polynomials $x{-}1{-}y$ , $x{-}xy{-}y$ , $y{-}1{-}x$ , $y{-}xy{-}x$ , $f_j(x,y)$ , or $g_j(x,y)$ for $1\leqslant j \leqslant 4$ . For each of these polynomials, Bajtoš determines the density of parameters $(a,b)$ that yield a maximally nonassociative quasigroup. The density is measured with respect to the size of the set of all $(a,b)$ for which the given polynomial gives zero, with $x=a/b$ and $y=(1{-}a)/(1{-}b)$ . For each polynomial, that set has size asymptotically equal to $q/4$ . Because of symmetry and reciprocity of polynomials, it suffices to investigate cases (a) $x{-}1{-}y$ , (b) $x^2{+}y^2{-}xy{-}x$ , and (c) $x^2{+}y{-}2x$ . In case (a), the obtained densities are $\approx 0.109$ , $0.219$ , $0.031$ , and $0.047$ , with $q\equiv 1, 5, 3, 7 \bmod 8$ , respectively. For case (b), the densities are $0.109$ and $0.082$ , $q\equiv 1,3\bmod 4$ . Case (c) yields $0.156$ , $0.172$ , $0.047$ , and $0.031$ , for $q\equiv 1, 5, 3, 7 \bmod 8$ . These numbers thus give probabilities of finding a maximally nonassociative quasigroup by a random choice, for each of the investigated cases. In the general case, these probabilities are $\approx 0.116$ and $0.050$ for $q\equiv 1,3\bmod 4$ (compare with the comments following Theorem 1.1).

Maximally non-associative quasigroups minimize the number of associative triples. Gowers and Long [Reference Gowers and Long9] consider another measure of how associative a quasigroup is, which they call its number of ‘octahedra.’ Several interesting connections between the number of octahedra and the number of associative triples are shown in their work, although they concentrate on quasigroups which are in some sense close to associative. Subsequently, Kwan et al. [Reference Kwan, Sah, Sawhney and Simkin12] considered the typical number of octahedra in a random quasigroup and asked a question regarding how few octahedra a quasigroup of order n can have. The maximally nonassociative quasigroups that we have constructed may be useful in answering that question, but the connection requires further investigation.

Another open question is how few nonassociative triples loops (quasigroups with identity) can have. It is not difficult to show that a loop of order n has to possess at least $3n^2 - 3n + 1$ associative triples. However, presently, no loop with less than $3n^2-2n$ triples seems to be known. In [Reference Drápal and Hora2], quadratic orthomorphisms were used to construct loops of order $n=p+1$ , for a prime $p \geqslant 13$ , that have exactly $3n^2-2n$ associative triples. The chosen method failed for $p=19$ . That case was solved by means of a ternary orthomorphism, which leads us naturally to our last research direction.

The question of when maximally nonassociative quasigroups can be generated by orthomorphisms that are not quadratic is wide open. Some examples are given in [Reference Drápal and Hora2, Reference Drápal and Wanless6]. Perhaps the next case to study would be orthomorphisms that are cyclotomic but not quadratic. We finish with some examples of this type that produce maximally nonassociative quasigroups. Each orthomorphism is given as a permutation in cycle notation. We have (1,3,8)(2,13,5)(4,12,15)(6,7,11,10)(9,16,14), a quartic orthomorphism in $\mathbb {F}_{17}$ , (1,2,15)(3,13,11)(4,18,17)(5,9,12)(6,8,16)(7,14,10), a cubic orthomorphism in $\mathbb {F}_{19}$ , and (1,3,15)(2,10,7)(4,17,9,5,6,16)(8,12,18)(11,14,13), a sextic orthomorphism in $\mathbb {F}_{19}$ .

Footnotes

Communicated by Ben Martin

This work was supported in part by Australian Research Council grant DP150100506.

References

Bajtoš, M., ‘Asymptotics in maximally nonassociative quasigroups’, MSc Thesis (in Slovak), Charles University, 2021. http://hdl.handle.net/20.500.11956/127285.Google Scholar
Drápal, A. and Hora, J., ‘Nonassociative triples in involutory loops and in loops of small order’, Comment. Math. Univ. Carolin. 61 (2020), 459479.Google Scholar
Drápal, A. and Lisoněk, P., ‘Maximal nonassociativity via nearfields’, Finite Fields Appl. 62 (2020), 101610.10.1016/j.ffa.2019.101610CrossRefGoogle Scholar
Drápal, A. and Valent, V., ‘Few associative triples, isotopisms and groups’, Des. Codes Cryptogr. 86 (2018), 555568.10.1007/s10623-017-0341-9CrossRefGoogle Scholar
Drápal, A. and Valent, V., ‘Extreme nonassociativity in order nine and beyond’, J. Combin. Des. 28 (2020), 3348.10.1002/jcd.21679CrossRefGoogle Scholar
Drápal, A. and Wanless, I. M., ‘Maximally nonassociative quasigroups via quadratic orthomorphisms’, Algebr. Comb. 4 (2021), 501515.Google Scholar
Evans, A. B., Orthogonal Latin Squares based on Groups, Developments in Mathematics, 57 (Springer, Cham, 2018).10.1007/978-3-319-94430-2CrossRefGoogle Scholar
Evans, R. J., ‘Exponential and character sums’, in: Handbook of Finite Fields (eds. Mullen, G. L. and Panario, D.) (CRC Press, Boca Raton, FL, 2013).Google Scholar
Gowers, W. T. and Long, J., ‘Partial associativity and rough approximate groups’, Geom. Funct. Anal. 30 (2020), 15831647.10.1007/s00039-020-00553-1CrossRefGoogle Scholar
Grošek, O. and Horák, P., ‘On quasigroups with few associative triples’, Des. Codes Cryptogr. 64 (2012), 221227.10.1007/s10623-010-9482-9CrossRefGoogle Scholar
Kepka, T., ‘A note on associative triples of elements in cancellation groupoids’, Comment. Math. Univ. Carolin. 21 (1980), 479487.Google Scholar
Kwan, M., Sah, A., Sawhney, M., Simkin, M., ‘Substructures in Latin squares’, Israel J. Math. to appear.Google Scholar
Lisoněk, P., ‘Maximal nonassociativity via fields’, Des. Codes Cryptogr. 88 (2020), 25212530.10.1007/s10623-020-00800-4CrossRefGoogle Scholar
Stein, S., ‘Homogeneous quasigroups’, Pacific J. Math. 14 (1964), 10911102.10.2140/pjm.1964.14.1091CrossRefGoogle Scholar
Wanless, I. M., ‘Diagonally cyclic Latin squares’, European J. Combin. 25 (2004), 393413.10.1016/j.ejc.2003.09.014CrossRefGoogle Scholar
Wanless, I. M., ‘Atomic Latin squares based on cyclotomic orthomorphisms’, Electron. J. Combin. 12 (2005), R22.10.37236/1919CrossRefGoogle Scholar
Figure 0

Table 1 Values of $s(i,\bar \rho )$ and associated parameters.