\documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{amsmath,amssymb,amsthm} \usepackage{microtype} \usepackage{hyperref} \hypersetup{pdftitle={Hadamard orders in short intervals}, pdfauthor={Alexander Kolpakov},colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue} \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\PP}{\mathcal P} \title{Hadamard orders in short intervals} \author{Alexander Kolpakov} \date{4 December 2026} \begin{document} \maketitle \begin{abstract} For every sufficiently large $x$, the interval $(x,x+2^{C3^{\log^*x}}]$ contains the order of a real Hadamard matrix. Here $C$ is absolute and $\log^*x$ counts the base-two logarithms needed to reach two or less. The interval length grows more slowly than every fixed iterated logarithm of $x$. We prove that every positive odd integer $q$ is the odd part of a Hadamard order $2^e q$ with $e\le C'3^{\log^*q}$. The proof uses a theorem of Drappeau and Shao on sums of three integers with small prime factors. Multiplying polynomial matrices for these factors introduces extra powers of two in their length. We recover the prescribed length by matching its low binary digits. \end{abstract} \section{How much doubling suffices?} A real Hadamard matrix of order $n$ is an $n$-by-$n$ matrix with entries $1$ and $-1$ whose rows are pairwise orthogonal. Equivalently, $HH^{\mathsf T}=nI_n$. How far above a given real number $x$ must one go to find a Hadamard order? We approach this question by fixing the odd part of the order. Given one such matrix, its tensor product with $\left(\begin{smallmatrix}1&1\\1&-1\end{smallmatrix}\right)$ gives one of twice the order. For odd $q$, write $\tau(q)$ for the least nonnegative integer $e$ for which there is a Hadamard matrix of order $2^e q$, with $\tau(q)=\infty$ if no such matrix exists. For $n>2$, make the first row all ones by changing column signs. The second row splits the columns into equal halves. Orthogonality to both rows forces the third row to have equally many signs of each kind in each half, so $4\mid n$. The Hadamard conjecture would therefore give $\tau(q)=2$ for every odd $q>1$. Livinskyi~\cite{Livinskyi} constructs Hadamard matrices from complementary sign sequences. Du and Jiang~\cite{DuJiang} use sets of complementary sequences to obtain the explicit exponent $6\lfloor(\log_2 q)/40\rfloor+10$. Mark~\cite{Mark} represents an integer as a sum of lengths of binary Golay pairs, whose autocorrelations cancel at every nonzero shift. He obtains $\tau(q)=O(\log q/\log\log q)$ and bounds the gap to the next Hadamard order above $x$ by $\exp(O(\log x/\log\log x))$. Our building blocks are square polynomial matrices. Their width gives the power of two in the final order, and their length gives the other factor. We can multiply many blocks at the same width. All logarithms are to base two unless stated otherwise. Write $\log^{(r)}x$ for the $r$-fold iterated logarithm, and $\log^* x$ for the least $r\ge0$ with $\log^{(r)} x\le2$. \begin{theorem}\label{thm:orders} There is an absolute constant $C$ such that, for every positive odd integer $q$, \[ \tau(q)\le C\,3^{\log^*q}. \] Every integer exponent at least $\tau(q)$ gives a Hadamard order with odd part $q$. \end{theorem} \begin{samepage} \begin{corollary}\label{cor:gap} For an absolute constant $C_1$ and every sufficiently large real $x$ there is a Hadamard order $h$ with \[ 00$, one may take $h-x\le(\log^{(r)}x)^\epsilon$ for all sufficiently large $x$. \end{corollary} \end{samepage} \begin{proof} Take $E=\lceil C3^{\log^*x}\rceil$ and $u=\lfloor x/2^E\rfloor+1$. Write $u=2^vq$ with $q$ odd. For large $x$ we have $q\le x$, hence $\tau(q)\le E$. Doubling gives a matrix of order $2^{E+v}q=2^E u$, the first multiple of $2^E$ above $x$. To compare this gap with iterated logarithms, first note that $3^{\log^*y}=o(y)$ as $y\to\infty$. Indeed $\log^*y\le 2+\log\log y$ for large $y$, so $3^{\log^*y}=O((\log y)^{\log 3})$. For fixed $r$, put $y=\log^{(r+1)}x$. Eventually $\log^*x=r+1+\log^*y$. It follows that $E=o(\log^{(r+1)}x)$, as required. \end{proof} \begin{corollary}\label{cor:count} Let $\mathcal H$ be the set of real Hadamard orders. There is an absolute constant $C_2$ such that for each fixed $c>1$ and all sufficiently large $x$, \[ \#\bigl(\mathcal H\cap[x,cx]\bigr) \ge \frac{x}{2^{C_2 3^{\log^* x}}}. \] \end{corollary} \begin{proof} Use $E=\lceil C3^{\log^*(cx)}\rceil$ for every odd part through $cx$. Every multiple of $2^E$ in $[x,cx]$ is a Hadamard order, and there are at least $(c-1)x/2^E-1$ such multiples. For fixed $c$ we have $cx\le2^x$ eventually, so $\log^*(cx)\le 1+\log^*x$. Taking, for instance, $C_2=3C+3$ absorbs the fixed factor $c-1$ once $x$ is sufficiently large in terms of $c$. \end{proof} De~Launey and Gordon used Ford's theorem to bound the number of Hadamard orders through $x$ from below~\cite{Ford,DG}. For a fixed Hadamard seed, our earlier paper counted $x/(\log x)^{1+o(1)}$ distinct orders in $[x,cx]$ arising from products of shifted primes~\cite[Theorem~4.5]{Orders}. Corollary~\ref{cor:count} gives a larger lower bound for all Hadamard orders in the same interval. The earlier theorem also identifies the seed and the prime factors that produce its orders. The polynomial matrices we use will be called packets. A packet of length $q$ and width $2^w$ gives a Hadamard matrix of order $2^w q$. At a common width, packets of lengths $a$ and $b$ multiply to a packet of length $2ab$. This accounts for the main difficulty in using the three-summand theorem. The sum of the integers is exact, yet the packet built from their prime factors may have length $2^f q$. The other construction places a packet of length $b$ between two pieces of length $a$, giving length $2a+b$. To use it, choose $b2C_0+2$. Whenever $t_i\le C_3 y$ and $y$ exceeds a sufficiently large fixed threshold, \[ t_{i+1}\le C_0\log(2C_3y)+1\le C_3\log y . \] Apply this inequality with $y=t,\log t,\log\log t,\ldots$ until $y$ reaches that threshold. Then $t_i$ is bounded. Taking the stopping constant large enough, the depth $d$ is at most $\log^*t+O(1)$. The first recurrence in~\eqref{eq:rec} gives $W(t_i)=O(3^{d-i})$ by backward induction. Summing the second over the same levels gives \begin{equation}\label{eq:width} F(t)\le F(t_d)+\sum_{i0$. Suppose that $x=\sum_{i=1}^s a_i$ and that for each $i$ we have two sign words $u_i,v_i$ of length $a_i$ satisfying \[ \sum_{i=1}^s (u_i u_i^*+v_i v_i^*)=2x . \] There is a symmetric Hadamard matrix of order $2^e q$ with \[ e\le\min(16s+1,\,8s+9). \] \end{lemma} \begin{proof} Partition $1,\ldots,x$ into consecutive intervals of lengths $a_i$. Work in $\mathbb R[z]/(z^{2q}-1)$, identifying polynomials with circulants and $^*$ with transpose. Place $u_i$ on its interval as $U_i$, and $v_i$ on the reflection of that interval as $V_i$, reading outwards from zero on both sides. Translation and reversal preserve each word's autocorrelation. Form the circulants \[ U_i+V_i,\qquad z^q(U_i-V_i)\quad (1\le i\le s), \qquad 1,\quad z^q . \] Their supports partition the $2q$ positions, and each support is invariant under $j\mapsto-j$. For each $i$, adding the Grams of the two displayed matrices cancels the cross terms and gives $2(U_iU_i^*+V_iV_i^*)$. The two singletons each contribute $I$, so the full sum is $(4x+2)I=2qI$. For each circulant $C$ take its symmetric and skew-symmetric parts $(C+C^*)/2$ and $(C-C^*)/2$. At each occupied position exactly one part has a sign. List the nonzero symmetric parts as $A_1,\ldots,A_p$ and the nonzero skew parts as $B_1,\ldots,B_b$. The singletons are symmetric, hence $p\le2s+2$ and $b\le2s$. Also $b\ge1$, since at reflected positions the two circulants from any interval have opposite relative signs. Commutativity of circulants gives $\sum A_i^2-\sum B_j^2=2qI$. We need two families of symmetric sign matrices whose members anticommute within each family and commute across the families. For explicit coefficients, index three matrices $E,F,G$ by $x,y\in\mathbb F_2^4$. The entry at $(x,y)$ is $(-1)^{Q(x)+x^{\mathsf T}My+Q(y)}$. In the table write $x=(a,b,c,d)^{\mathsf T}$. \[ \begin{array}{c|c|c} &\text{rows of }M&Q(x)\\ \hline E&1000,\ 0100,\ 0010,\ 0001&0\\ F&0011,\ 0111,\ 1100,\ 1101&b+ab+bd+cd\\ G&1011,\ 0111,\ 1110,\ 1101&ab+ac+bd+cd \end{array} \] The three matrices $M$ in the table are symmetric and invertible. Character orthogonality gives $E^2=F^2=G^2=16I$. For clarity, the entry at $(x,y)$ of a product of two table matrices, with data $(M,Q)$ and $(N,P)$ respectively, is \[ (-1)^{Q(x)+P(y)} \sum_{z\in\mathbb F_2^4}(-1)^{Q(z)+P(z)+z^{\mathsf T}(Mx+Ny)}. \] Substitution from the three rows gives $EF=FE$, $EG=GE$ and $FG=-GF$. In $p-1$ tensor slots take the $p$ words $G^{\otimes i}\otimes F\otimes E^{\otimes(p-2-i)}$ for $0\le i\le p-2$, and $G^{\otimes(p-1)}$. Two different words anticommute because $F$ meets $G$ in exactly one slot. Build $b$ words the same way in a disjoint set of $b-1$ slots. Fill all unused slots with $E$, using the scalar $1$ for an empty tensor product. This uses at most $4s$ slots. We can also fit both families into $\lfloor p/2\rfloor+ \lfloor b/2\rfloor+1\le2s+2$ slots. The reason is that two tensor words anticommute whenever $F$ meets $G$ an \emph{odd} number of times. This is an odd cover of the edges of two disjoint complete graphs by complete bipartite graphs~\cite[Theorem~12]{OddCovers}. Here is an explicit choice of words. In each family reserve one label, adding a spare label first if the family size is even. Pair the remaining labels within each family. Use one slot per pair and one final slot. A reserved label uses $G$ in the slots of its own family and $E$ elsewhere. Number the pairs. For $i\ne j$, put $c_{ij}=1$ if $i0$ have $t$ bits and put $k=2^{F(t)}$. Divide $x$ by $k/2$, writing $x=(k/2)a+r$ with $0\le r0$, then $a\le x$, so we have an exact packet of length $a$ at width $k$. A row of the sign polynomial matrix in Lemma~\ref{lem:spread} supplies $k/2$ pairs of words of length $a$ with total Laurent norm $ka$. For each nonzero bit $2^j$ of $r$, add one binary Golay pair of length $2^j$. Starting from $(1,1)$, a pair $(u,v)$ of length $l$ gives the pair $(u+z^l v,u-z^l v)$ of length $2l$, so all these lengths are available. When $a=0$ only the remainder pairs are needed. The intervals have total length $x$ and the words have total norm $2x$. Since $r2$. Change row and column signs to make the first row and column all ones. Delete them, take the remaining columns as points, and let the plus signs in each row specify a block. Each block contains $2u-1$ of the $4u-1$ points. Orthogonality gives $u-1$ common blocks for each pair of points. This is a Hadamard design of order $u$. Conversely its incidence table recovers the sign matrix by reinstating the border. Merchant's Theorem~5.2~\cite{Merchant} gives at least $(16u-2)!/(2^{10}u^3)$ nonisomorphic Hadamard designs of order $8u$ from the existence of one design of order $u>2$. They yield matrices of order $n=32u$. For a given matrix, choose one row and one column as its border. The sign changes that make this border positive give a unique normalized matrix for that choice. Permuting the remaining rows or columns just relabels the blocks or points. Thus each matrix class, allowing transposition, gives at most $2n^2$ design classes per matrix class. Since $16u-2=n/2-2$, Stirling's formula gives $\log((16u-2)!)=\tfrac12 n\log n-O(n)$. The two polynomial divisors contribute only $O(\log n)$ to the logarithm. Finally, $0